Explorar o código

小米推送添加通知通道

peng %!s(int64=2) %!d(string=hai) anos
pai
achega
dff7787cb0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Controller/ComboCron/ComboCronPushController.py

+ 1 - 1
Controller/ComboCron/ComboCronPushController.py

@@ -236,7 +236,7 @@ class ComboCronPushView(View):
             # android 小米推送
             elif push_type == 4:
                 channel_id = 104552
-                PushObject.android_xmpush(**kwargs)
+                PushObject.android_xmpush(channel_id=channel_id, **kwargs)
             # android vivo推送
             elif push_type == 5:
                 PushObject.android_vivopush(**kwargs)