ソースを参照

暂时去除手机号唯一

laiguoran 5 年 前
コミット
00eb426b4a
1 ファイル変更1 行追加1 行削除
  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,