fix(theme): 修复门票页导航栏主题脱节与个人中心双身份卡片流光动画,加固活动参与人画像与大神隐私
这个提交包含在:
@@ -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
|
||||
|
||||
在新工单中引用
屏蔽一个用户