|
@@ -173,7 +173,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):
|
|
|
+ (push_type == 0 or push_type == 1 or push_type == 3):
|
|
|
if param['is_st'] == 1:
|
|
|
key = '{}/{}/{}.jpeg'.format(param['uid'], param['channel'], param['n_time'])
|
|
|
else:
|
|
@@ -469,9 +469,6 @@ class DevicePushService:
|
|
|
huawei_push_object = HuaweiPushObject()
|
|
|
huawei_push_object.send_push_notify_message(token_val=token_val, msg_title=msg_title, msg_text=msg_text,
|
|
|
image_url=image_url)
|
|
|
- elif push_type == 4:
|
|
|
- PushObject.android_xmpush(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)))
|