|
@@ -567,7 +567,7 @@ public class CpPushDataServiceImpl implements ICpPushDataService {
|
|
//解析渠道信息
|
|
//解析渠道信息
|
|
String channel = new String(Base64.getDecoder().decode(userData.getChannel()));
|
|
String channel = new String(Base64.getDecoder().decode(userData.getChannel()));
|
|
//没有携带渠道标识, 无法解析渠道信息, 判定为自然量
|
|
//没有携带渠道标识, 无法解析渠道信息, 判定为自然量
|
|
- if (!channel.contains("agentKey") || !channel.contains("state")) {
|
|
|
|
|
|
+ if (!channel.contains("agentKey") && !channel.contains("state")) {
|
|
return Tuples.of(0L, Collections.emptyMap(), channel);
|
|
return Tuples.of(0L, Collections.emptyMap(), channel);
|
|
}
|
|
}
|
|
Tuple2<Boolean, Boolean> jsonAndEmpty = this.isJsonAndEmpty(channel);
|
|
Tuple2<Boolean, Boolean> jsonAndEmpty = this.isJsonAndEmpty(channel);
|