Browse Source

暫時移除檢查規則,方便測試

Mike 3 years ago
parent
commit
460ebb07ad
1 changed files with 2 additions and 0 deletions
  1. 2 0
      api/main.py

+ 2 - 0
api/main.py

@@ -107,12 +107,14 @@ async def create_req_detail(req:deco_request_detail):
     
     return_code = 0
     #return code 0=good, 1=email duplication, 2=phone duplication, 3= both duplicate
+    '''
     if email_cnt>0 and phone_cnt==0:
         return_code = 1
     if email_cnt==0 and phone_cnt>0:
         return_code = 2
     if email_cnt>0 and phone_cnt>0:
         return_code = 3
+    '''
     
     if return_code ==0 :
         request_table = db['deco_request']