Преглед на файлове

小米、oppo添加推送返回值

peng преди 2 години
родител
ревизия
b79e59e477
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      Service/DevicePushService.py

+ 1 - 1
Service/DevicePushService.py

@@ -418,7 +418,7 @@ class DevicePushService:
         }
         response = requests.post(url, data=data, headers=headers)
         if response.status_code == 200:
-            LOGGING.info('小米推送结果:'.format(response.json()))
+            LOGGING.info('小米推送结果:{}'.format(response.json()))
             return response.json()
 
     @staticmethod