Pārlūkot izejas kodu

华为推送图片添加channel

locky 1 gadu atpakaļ
vecāks
revīzija
467cc722a5
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      Service/DevicePushService.py

+ 1 - 1
Service/DevicePushService.py

@@ -716,7 +716,7 @@ class DevicePushService:
                 huawei_push_object = HuaweiPushObject()
                 push_result = huawei_push_object.send_push_notify_message(
                     token_val=token_val, msg_title=msg_title, msg_text=msg_text, uid=uid, event_type=event_type,
-                    n_time=n_time, image_url=image_url)
+                    n_time=n_time, image_url=image_url, channel=channel)
 
             LOGGING.info('{}推送图片,push_type:{},推送结果:{}'.format(uid, push_type, push_result))
         except Exception as e: