Pārlūkot izejas kodu

同步oppo正式服测试服代码

peng 2 gadi atpakaļ
vecāks
revīzija
7d1ad1742f
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      Service/DevicePushService.py

+ 2 - 2
Service/DevicePushService.py

@@ -662,7 +662,7 @@ class DevicePushService:
                 "content": msg_text,
                 'channel_id': channel_id,
                 'action_parameters': extra_data,
-                'click_action_type': 1,
+                'click_action_type': 4,
                 'click_action_activity': 'com.ansjer.zccloud_a.AJ_MainView.AJ_Home.AJMainActivity'
             }
         }
@@ -673,7 +673,7 @@ class DevicePushService:
 
         response = requests.post(push_url, data=push_data, headers=headers)
         if response.status_code == 200:
-            LOGGING.info("oppo推送返回值:{}".format(response.json()))
+            LOGGING.info("oppo推送返回值:{},uid:{},time:{},event:{}".format(response.json(), uid, now_time, event_type))
             return response.json()
 
     @classmethod