소스 검색

暂时去除手机号唯一

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,