Merge branch 'master' of http://210.77.77.77/xieshen/newmediamonitoring
This commit is contained in:
commit
21c5864fff
|
@ -24,6 +24,6 @@ def process_notify_task():
|
|||
if hour < 8 or hour > 20:
|
||||
return
|
||||
print('============', phone, n.type)
|
||||
SMSNotifyRecord.objects.create(phone=phone)
|
||||
SMSNotifyRecord.objects.create(phone=phone, notice_id=n.id)
|
||||
sent_sms_notify(phone, n.type)
|
||||
print('end task', time.process_time() - start)
|
||||
|
|
Loading…
Reference in New Issue