|
@@ -164,7 +164,8 @@ class DevicePushService:
|
|
|
if not param['app_push']:
|
|
|
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 == 4):
|
|
|
+ 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):
|
|
|
if param['is_st'] == 1:
|
|
|
key = '{}/{}/{}.jpeg'.format(param['uid'], param['channel'], param['n_time'])
|
|
|
else:
|