Bläddra i källkod

个人用户地址类型

guhongwei 3 år sedan
förälder
incheckning
f507e201cc
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      app/model/user.js

+ 1 - 1
app/model/user.js

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