|
@@ -156,6 +156,9 @@ class NotificationView(View):
|
|
|
do_apns_code = ''
|
|
|
do_fcm_code = ''
|
|
|
do_jpush_code = ''
|
|
|
+ logger.info('进入手机推送------')
|
|
|
+ logger.info('uid={}'.format(uid))
|
|
|
+ logger.info(redis_list)
|
|
|
for up in redis_list:
|
|
|
push_type = up['push_type']
|
|
|
appBundleId = up['appBundleId']
|
|
@@ -179,6 +182,7 @@ class NotificationView(View):
|
|
|
if not have_dkey:
|
|
|
if push_type == 0: # ios apns
|
|
|
do_apns_code = self.do_apns(**kwag_args)
|
|
|
+ logger.info('进入do_apns,uid={}'.format(uid))
|
|
|
logger.info('do_apns_code===={}'.format(do_apns_code))
|
|
|
elif push_type == 1: # android gcm
|
|
|
do_fcm_code = self.do_fcm(**kwag_args)
|