fix(theme): 修复门票页导航栏主题脱节与个人中心双身份卡片流光动画,加固活动参与人画像与大神隐私
这个提交包含在:
@@ -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('匹配接口必须在详情路由之前注册,心跳接口必须鉴权', () => {
|
||||
|
||||
在新工单中引用
屏蔽一个用户