feat: 同步管理端、用户端与后端业务,并接通线上 Web 接口
补齐平台订阅、外部登录、CRM 同步与用户端页面;Nginx 转发用户端接口,登录页使用 Google 与 Apple 标志。 Co-authored-by: Cursor <cursoragent@cursor.com>
这个提交包含在:
@@ -117,7 +117,7 @@ describe('商务概览工作台聚合 (getWorkplaceOverview)', () => {
|
||||
find: jest.fn().mockResolvedValue(leads),
|
||||
} as never;
|
||||
|
||||
const result = await service.getWorkplaceOverview({ feedLimit: 8 });
|
||||
const result = await service.getWorkplaceOverview({ feedLimit: 8, now: today });
|
||||
expect(result.kpis.tapCount).toBe(1);
|
||||
expect(result.kpis.newLeadCount).toBe(1);
|
||||
expect(result.radarFeed[0].viewedBlocks).toEqual(['hero', 'cases']);
|
||||
|
||||
在新工单中引用
屏蔽一个用户