feat: 同步管理端、用户端与后端业务,并接通线上 Web 接口
补齐平台订阅、外部登录、CRM 同步与用户端页面;Nginx 转发用户端接口,登录页使用 Google 与 Apple 标志。 Co-authored-by: Cursor <cursoragent@cursor.com>
这个提交包含在:
@@ -180,11 +180,10 @@ describe('Point 09: 全球访客雷达热力分布与大屏服务 (radar-map.tes
|
||||
});
|
||||
|
||||
describe('3. 终端渠道分析 (getDeviceStats)', () => {
|
||||
it('空数据时应安全返回包含基础渠道为 0 的统计', async () => {
|
||||
it('空数据时应安全返回空数组 []', async () => {
|
||||
const result = await radarService.getDeviceStats();
|
||||
expect(Array.isArray(result)).toBe(true);
|
||||
expect(result.length).toBeGreaterThanOrEqual(3);
|
||||
expect(result.every((item) => item.count === 0 && item.percentage === 0)).toBe(true);
|
||||
expect(result).toEqual([]);
|
||||
});
|
||||
|
||||
it('应准确按 touchType (nfc, qr, link) 计算数量与占比', async () => {
|
||||
|
||||
在新工单中引用
屏蔽一个用户