lrf402788946 %!s(int64=5) %!d(string=hai) anos
pai
achega
e407894f45
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/model/user.js

+ 1 - 1
app/model/user.js

@@ -10,7 +10,7 @@ const UserSchema = {
   passwd: { type: Secret, select: false }, // 注册密码
   openid: { type: String, required: false }, // 微信openid
   uid: { type: String, required: false }, // 用户信息id
-  role: { type: String, required: false }, // 1-管理员,2-个人,3-企业管理员,4-子管理员
+  role: { type: String, required: false }, // 1-管理员,2-个人,3-企业管理员,4-子管理员,5-vip用户
   menus: { type: [ String ], required: false }, // 菜单权限
   remark: { type: String, required: false }, // 备注
 };