|
@@ -154,7 +154,7 @@ class NotificationView(View):
|
|
eq_list = []
|
|
eq_list = []
|
|
sys_msg_list = []
|
|
sys_msg_list = []
|
|
userID_ids = []
|
|
userID_ids = []
|
|
- do_apnsss = []
|
|
|
|
|
|
+ do_apnsss=''
|
|
for up in redis_list:
|
|
for up in redis_list:
|
|
push_type = up['push_type']
|
|
push_type = up['push_type']
|
|
appBundleId = up['appBundleId']
|
|
appBundleId = up['appBundleId']
|
|
@@ -174,7 +174,7 @@ class NotificationView(View):
|
|
if detect_med_type == 2 or detect_med_type == 0:
|
|
if detect_med_type == 2 or detect_med_type == 0:
|
|
if push_type == 0: # ios apns
|
|
if push_type == 0: # ios apns
|
|
# self.do_apns(**kwag_args)
|
|
# self.do_apns(**kwag_args)
|
|
- do_apnsss['do_apns'] = self.do_apns(**kwag_args)
|
|
|
|
|
|
+ do_apnsss = self.do_apns(**kwag_args)
|
|
elif push_type == 1: # android gcm
|
|
elif push_type == 1: # android gcm
|
|
self.do_fcm(**kwag_args)
|
|
self.do_fcm(**kwag_args)
|
|
elif push_type == 2: # android jpush
|
|
elif push_type == 2: # android jpush
|