This commit is contained in:
lik
2026-09-02 22:39:04 +08:00
parent c95a9c4c95
commit f81f6906f0
24 changed files with 389 additions and 1024 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ class HandlerHealthProfile {
}
// 白名单:只允许写入 schema 定义的顶层字段(兼容 'profile.name' 等点号路径)
static PROFILE_FIELDS = ["userId", "profile", "health"];
static PROFILE_FIELDS = ["userId", "profile", "location", "health"];
static pickFields(body) {
const picked = {};