|
@@ -190,7 +190,7 @@ class DevicePushService:
|
|
|
result['do_jpush_code'] = cls.do_jpush(**kwag_args)
|
|
|
elif push_type == 4: # android xmpush
|
|
|
result['do_xmpush_code'] = cls.do_xmpush(**kwag_args)
|
|
|
- elif push_type == 5:
|
|
|
+ elif push_type == 5: # android vivopush
|
|
|
result['do_vivopush_code'] = cls.do_vivopush(**kwag_args)
|
|
|
return result
|
|
|
except Exception as e:
|
|
@@ -559,6 +559,6 @@ class DevicePushService:
|
|
|
.client_custom_map(**push_data) \
|
|
|
.message_dict()
|
|
|
rec2 = sender_send.send(message)
|
|
|
- logger.info('vivo推送结果:{}'.format(rec2))
|
|
|
+ return rec2
|
|
|
except Exception as e:
|
|
|
logger.info('vivo推送异常:{}'.format(e))
|