|
|
@@ -87,9 +87,10 @@ public class ChannelController {
|
|
|
System.out.println(e.getMessage());
|
|
|
}
|
|
|
}
|
|
|
- if (Constant.NO_SIGN_CHANNEL_NAMES.contains(channelPopularize.getChannelName())) {
|
|
|
+ String channelName = channelPopularize.getChannelName();
|
|
|
+ if (channelName.contains(Constant.NO_SIGN_CHANNEL_NAMES.get(0)) || channelName.contains(Constant.NO_SIGN_CHANNEL_NAMES.get(1))) {
|
|
|
String key;
|
|
|
- if (StrUtil.equals(Constant.NO_SIGN_CHANNEL_NAMES.get(0), channelPopularize.getChannelName())) {
|
|
|
+ if (channelName.contains(Constant.NO_SIGN_CHANNEL_NAMES.get(0))) {
|
|
|
key = Constant.CHANNEL_BAIDU_DISCOUNT_KEY;
|
|
|
} else {
|
|
|
key = Constant.CHANNEL_DY_DISCOUNT_KEY;
|