Explorar el Código

优化退出登录推送

peng hace 11 meses
padre
commit
7999b97497
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Controller/TransparentTransmissionPushController.py

+ 1 - 1
Controller/TransparentTransmissionPushController.py

@@ -113,7 +113,7 @@ class TransparentTransmissionPushView(View):
                 # elif push_item['push_type'] == 4:  # 小米
                 #     channel_id = XM_PUSH_CHANNEL_ID['device_reminder']
                 #     PushObject.android_xmpush(channel_id=channel_id, **kwargs)
-                elif push_item['push_type'] in [4, 5, 6]:  # vivo, oppo
+                elif push_item['push_type'] in [4, 5, 6]:  # 小米, vivo, oppo
                     kwargs['token_val'] = push_item['jg_token_val']
                     PushObject.jpush_transparent_transmission(title, content, push_item['app_bundle_id'],
                                                               push_item['jg_token_val'], kwargs)