|
|
@@ -76,10 +76,6 @@ private static final String[] PUBLIC_PATHS = {
|
|
|
"/api/activity/detail",
|
|
|
"/api/activity/order/notify",
|
|
|
"/api/content-sections/visible",
|
|
|
- "/api/mind/alert/active",
|
|
|
- "/api/mind/alert/checkin-alerts",
|
|
|
- "/api/mind/traditional/mirror",
|
|
|
- "/api/mind/traditional/compatibility",
|
|
|
"/api/mcp/**"
|
|
|
};
|
|
|
|
|
|
@@ -115,6 +111,9 @@ private static final String[] PUBLIC_PATHS = {
|
|
|
"/api/health/checkin/", // 健康打卡:成员私有数据
|
|
|
"/api/xiaomi-health/", // 小米运动健康:OAuth 授权绑定/同步/撤销,成员私有凭证与数据
|
|
|
"/api/huawei-health/", // 华为运动健康:OAuth 授权绑定/同步/撤销,成员私有凭证与数据,必须登录(与 xiaomi-health 对齐)
|
|
|
+ // B-69(O-21 裁决):/api/mind/** 移出匿名白名单——运势/情绪预警/传统测试均为成员私有数据,
|
|
|
+ // 匿名(userId=-1)此前被 PUBLIC_PATHS 放行直通业务层(200/400 口径漂移),整族必须登录,无 token 直接 401。
|
|
|
+ "/api/mind/", // 心理解读:今日运势/情绪预警/传统测试/筛查/亲子画像,成员私有数据,必须登录
|
|
|
"/api/tasks/", // 任务:家庭私有数据(今日/历史/审核/完成)
|
|
|
"/api/energy/", // 五维能量:用户私有数据(sandbox/logs/grant/score-history...)
|
|
|
"/api/wishes/", // 心愿:家庭私有数据
|