|
@@ -167,7 +167,7 @@ class DevicePushService:
|
|
|
LOGGING.info('APP准备推送:{}, {}'.format(param['uid'], param))
|
|
|
# 推送显示图片
|
|
|
if (param['is_st'] == 1 or param['is_st'] == 3) and \
|
|
|
- (push_type == 0 or push_type == 1 or push_type == 3 or push_type == 4 or push_type == 5):
|
|
|
+ (push_type == 0 or push_type == 1 or push_type == 3 or push_type == 4):
|
|
|
if param['is_st'] == 1:
|
|
|
key = '{}/{}/{}.jpeg'.format(param['uid'], param['channel'], param['n_time'])
|
|
|
else:
|
|
@@ -415,9 +415,6 @@ class DevicePushService:
|
|
|
elif push_type == 4:
|
|
|
PushObject.android_xmpush(uid, appBundleId, token_val, n_time, event_type, msg_title,
|
|
|
msg_text, uid, channel, image_url)
|
|
|
- elif push_type == 5:
|
|
|
- PushObject.android_vivopush(uid, appBundleId, token_val, n_time, event_type, msg_title,
|
|
|
- msg_text, uid, channel, image_url)
|
|
|
except Exception as e:
|
|
|
LOGGING.info('异常详情,errLine:{}, errMsg:{}'.format(e.__traceback__.tb_lineno, repr(e)))
|
|
|
|