Explorar o código

移除通道权限URL

zhangdongming %!s(int64=2) %!d(string=hai) anos
pai
achega
6e9ccd583a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Service/DevicePushService.py

+ 1 - 1
Service/DevicePushService.py

@@ -159,7 +159,7 @@ class DevicePushService:
                 params['lang'] = lang
                 params['tz'] = tz
                 params['kwag_args'] = kwag_args
-                code_data = cls.send_app_msg_push(up['push_type'], **params) if push_permission else code_data
+                code_data = cls.send_app_msg_push(up['push_type'], **params)
             return {'code_date': code_data, 'new_device_info_list': new_device_info_list, 'sys_msg_list': sys_msg_list,
                     'local_date_time': local_date_time}
         except Exception as e: