Explorar o código

暂时去除手机号唯一

laiguoran %!s(int64=5) %!d(string=hai) anos
pai
achega
00eb426b4a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      modules/all_models/user.js

+ 1 - 1
modules/all_models/user.js

@@ -46,7 +46,7 @@ let schema = {
     email: String,
     mobile: {
         type: String,
-        unique: true,
+        // unique: true,
     },
     qq: {
         type: String,