locky пре 7 месеци
родитељ
комит
ae5606f657
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      Service/DevicePushService.py

+ 1 - 0
Service/DevicePushService.py

@@ -698,6 +698,7 @@ class DevicePushService:
                 'Authorization': 'key={}'.format(app_secret)
             }
             response = requests.post(url, data=data, headers=headers)
+            LOGGING.info('uid:{},时间:{}小米推送参数:{}'.format(uid, n_time, data))
             if response.status_code == 200:
                 LOGGING.info('uid:{},时间:{}小米推送结果:{}'.format(uid, n_time, response.json()))
                 return True