Browse Source

暂时去除手机号唯一

laiguoran 5 years ago
parent
commit
00eb426b4a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules/all_models/user.js

+ 1 - 1
modules/all_models/user.js

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