Commit 3ebeb6e5 by Aeolus

拙政园上线给老板和老罗发短信

parent 578ce70a
...@@ -251,7 +251,7 @@ def login(): ...@@ -251,7 +251,7 @@ def login():
if user_info.phone in ('13913505018', '15952417966', '13912636952', '18051909777'): if user_info.phone in ('13913505018', '15952417966', '13912636952', '18051909777'):
sms = SMSService() sms = SMSService()
result = sms.phoneSendCodeWithContent('18913573855', 934619, [user_info.phone], '灰兔智能') result = sms.phoneSendCodeWithContent(['18913573855', '13912720828'], 934619, [user_info.phone], '灰兔智能')
logger.info(result) logger.info(result)
salt = AgentService.gene_salt() salt = AgentService.gene_salt()
...@@ -296,7 +296,7 @@ def login(): ...@@ -296,7 +296,7 @@ def login():
if agent_info.phone in ('13913505018', '15952417966', '13912636952', '18051909777'): if agent_info.phone in ('13913505018', '15952417966', '13912636952', '18051909777'):
sms = SMSService() sms = SMSService()
result = sms.phoneSendCodeWithContent('18913573855', 934619, [agent_info.phone], '灰兔智能') result = sms.phoneSendCodeWithContent(['18913573855', '13912720828'], 934619, [agent_info.phone], '灰兔智能')
logger.info(result) logger.info(result)
salt = AgentService.gene_salt() salt = AgentService.gene_salt()
...@@ -341,7 +341,7 @@ def login(): ...@@ -341,7 +341,7 @@ def login():
if agent_info.phone in ('13913505018', '15952417966', '13912636952', '18051909777'): if agent_info.phone in ('13913505018', '15952417966', '13912636952', '18051909777'):
sms = SMSService() sms = SMSService()
result = sms.phoneSendCodeWithContent('18913573855', 934619, [agent_info.phone], '灰兔智能') result = sms.phoneSendCodeWithContent(['18913573855', '13912720828'], 934619, [agent_info.phone], '灰兔智能')
logger.info(result) logger.info(result)
salt = AgentService.gene_salt() salt = AgentService.gene_salt()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment