Browse Source

华为发送推送消息函数不使用参数添加appBundleId

locky 2 years ago
parent
commit
43d96432c9
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Service/HuaweiPushService/HuaweiPushService.py

+ 2 - 1
Service/HuaweiPushService/HuaweiPushService.py

@@ -18,7 +18,7 @@ class HuaweiPushObject:
         push_admin.initialize_app(self.app_id, self.app_secret)
 
     def send_push_notify_message(self, token_val, msg_title, msg_text, image_url=None, uid='', channel='', n_time='',
-                                 event_type='', app_bundle_id=''):
+                                 event_type='', app_bundle_id='', appBundleId=''):
         """
         发送推送消息
         @param token_val: 手机推送token
@@ -27,6 +27,7 @@ class HuaweiPushObject:
         @param n_time: 不使用
         @param event_type: 不使用
         @param app_bundle_id: 不使用
+        @param appBundleId: 不使用
         @param uid: 不使用
         @param channel: 不使用
         @param msg_text: 不使用