Browse Source

暂时去除手机号唯一

laiguoran 5 năm trước cách đây
mục cha
commit
00eb426b4a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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,