Explorar el Código

个人用户地址类型

guhongwei hace 3 años
padre
commit
f507e201cc
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 }, // 职务职称