修复mongodb{}对象不更新问题

This commit is contained in:
lik
2026-06-02 10:03:17 +08:00
parent f3cd769d7d
commit 12be175ce8
2 changed files with 6 additions and 1 deletions

View File

@@ -68,6 +68,8 @@ const UserSchema = mongoose.Schema(
// 带wxopenid
app: {
type: mongoose.Schema.Types.Mixed,
default: {}
},
// 元数据 - 系统管理信息