瀏覽代碼

Merge remote-tracking branch 'remotes/origin/peng' into test

Ansjer 2 年之前
父節點
當前提交
e19f48d00f
共有 2 個文件被更改,包括 6 次插入2 次删除
  1. 3 1
      Service/DevicePushService.py
  2. 3 1
      Service/PushService.py

+ 3 - 1
Service/DevicePushService.py

@@ -452,7 +452,9 @@ class DevicePushService:
                 "title": msg_title,
                 "content": msg_text,
                 'channel_id': channel_id,
-                'action_parameters': extra_data
+                'action_parameters': extra_data,
+                'click_action_type': 1,
+                'click_action_activity': 'com.ansjer.zccloud_a.AJ_MainView.AJ_Home.AJMainActivity'
             }
         }
         push_data = {

+ 3 - 1
Service/PushService.py

@@ -376,7 +376,9 @@ class PushObject:
                     "title": msg_title,
                     "content": msg_text,
                     'channel_id': channel_id,
-                    'action_parameters': extra_data
+                    'action_parameters': extra_data,
+                    'click_action_type': 1,
+                    'click_action_activity': 'com.ansjer.zccloud_a.AJ_MainView.AJ_Home.AJMainActivity'
                 }
             }
             push_data = {