Explorar o código

小米、oppo添加推送返回值

peng %!s(int64=2) %!d(string=hai) anos
pai
achega
b79e59e477
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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