|
@@ -86,12 +86,12 @@ 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 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']
|