|
@@ -197,6 +197,9 @@ class NotificationView(View):
|
|
|
self.do_gmc(request_dict, ua, response)
|
|
|
# android jpush
|
|
|
elif push_type == 2:
|
|
|
+ print('===============')
|
|
|
+ print(push_type)
|
|
|
+ print('=============')
|
|
|
self.do_jpush(request_dict, ua, response)
|
|
|
self.do_save_equipment_info(ua, n_time, channel, event_type, is_st)
|
|
|
#############
|
|
@@ -260,6 +263,10 @@ class NotificationView(View):
|
|
|
appBundleId = uaql['appBundleId']
|
|
|
token_val = uaql['token_val']
|
|
|
uid = uaql['uid']
|
|
|
+
|
|
|
+ print('===============')
|
|
|
+ print(token_val)
|
|
|
+ print('=============')
|
|
|
response = ResponseObject()
|
|
|
app_key = jpush_config[appBundleId]['Key']
|
|
|
master_secret = jpush_config[appBundleId]['Secret']
|