fix(theme): 修复门票页导航栏主题脱节与个人中心双身份卡片流光动画,加固活动参与人画像与大神隐私

这个提交包含在:
xcbyy
2026-10-23 09:05:32 +08:00
父节点 001f81eaca
当前提交 f082ae8276
共有 14 个文件被更改,包括 147 次插入 和 40 次删除

查看文件

@@ -41,6 +41,15 @@ describe('大神 LBS 即时匹配与接单心跳', () => {
expect(repo).toContain('async updateCompanionHeartbeat(');
// 接单中切换时立即刷新活跃时间
expect(repo).toContain("fields.push('last_active_at = NOW()')");
// 无定位心跳必须清空旧坐标,避免过期位置继续参与 5km 匹配
expect(repo).toContain('latitude = NULL, longitude = NULL');
// 列表在线状态同样以心跳为准
expect(repo).toContain("(status = '接单中' AND last_active_at >= DATE_SUB(NOW(), INTERVAL 10 MINUTE)) as isOnline");
});
it('历史 expert_id=101 等失效订单必须按大神名称回填真实档案 id', () => {
expect(mysql).toContain('o.expert_id >= 100 AND o.expert_id < 200');
expect(mysql).toContain('JOIN companions c ON c.name = o.companion_name');
});
it('匹配接口必须在详情路由之前注册,心跳接口必须鉴权', () => {