Explorar o código

推送图片测试5

locky %!s(int64=3) %!d(string=hai) anos
pai
achega
1354f46f13
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      Controller/DetectControllerV2.py

+ 1 - 0
Controller/DetectControllerV2.py

@@ -244,6 +244,7 @@ class NotificationView(View):
                 try:
                     # 推送消息
                     if not have_dkey:
+                        logger.info('准备推送:{}, {}'.format(uid, request_dict))
                         # if (is_st == 1 or is_st == 3) and (push_type == 0 or push_type == 1):
                         push_thread = threading.Thread(target=self.push_thread_test, args=(push_type, aws_s3_client, uid, appBundleId, token_val, event_type, n_time, msg_title, msg_text))
                         push_thread.start()