Преглед на файлове

华为推送图片添加channel

locky преди 1 година
родител
ревизия
467cc722a5
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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: