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

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

查看文件

@@ -1276,7 +1276,8 @@ app.get('/api/companions', async (req: Request, res: Response) => {
const publicList = companions
.filter((c: any) => c.auditStatus === '已通过')
.map((c: any) => {
const { rejectReason, ...rest } = c;
// 公开目录不返回内部审核备注、用户 id 与证件脱敏串
const { rejectReason, userId, idCardMasked, ...rest } = c;
return rest;
});
res.json({
@@ -1360,7 +1361,7 @@ app.get('/api/companions/:id', async (req: Request, res: Response) => {
if (isVerifiedAdminRequest(req)) {
return res.json({ code: 20000, data: companion });
}
const { rejectReason, ...publicCompanion } = companion;
const { rejectReason, userId, idCardMasked, ...publicCompanion } = companion;
res.json({
code: 20000,
data: publicCompanion