|
@@ -52,12 +52,12 @@ class CustomizedPushView(View):
|
|
|
'register_period': customized_push_qs[0]['register_period'],
|
|
|
'push_app': customized_push_qs[0]['push_app']
|
|
|
}
|
|
|
- # customized_push(**kwargs)
|
|
|
+ customized_push(**kwargs)
|
|
|
# 异步推送消息和保存数据
|
|
|
- push_thread = threading.Thread(
|
|
|
- target=customized_push,
|
|
|
- kwargs=kwargs)
|
|
|
- push_thread.start()
|
|
|
+ # push_thread = threading.Thread(
|
|
|
+ # target=customized_push,
|
|
|
+ # kwargs=kwargs)
|
|
|
+ # push_thread.start()
|
|
|
|
|
|
# 更新推送状态
|
|
|
customized_push_qs.update(push_satus=True)
|