瀏覽代碼

个人用户地址类型

guhongwei 3 年之前
父節點
當前提交
f507e201cc
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/model/user.js

+ 1 - 1
app/model/user.js

@@ -10,7 +10,7 @@ const user = {
   password: { type: Secret, select: false }, // 密码
   card: { type: String, required: false }, // 身份证
   email: { type: String, required: false }, // 邮箱
-  addr: { type: Array, required: false }, // 地址
+  addr: { type: String, required: false }, // 地址
   school: { type: String, required: false }, // 院系
   major: { type: String, required: false }, // 专业
   zwzc: { type: String, required: false }, // 职务职称