Commit ab046ea6 by guojx

Merge branch 'feature-2023-11-cloud' into 'developer'

渠道权限修复

See merge request !1569
parents 5315850d ea66f3df
......@@ -245,6 +245,7 @@ public class DataController {
Set<String> hasAuthSet = new HashSet<>();
for (PlatformChannelEnum value : values) {
boolean enable = true;
hasAuthSet.add(value.getChannelCode());
// 微信渠道,pos渠道,其他渠道默认开通
if(PlatformEnum.WECHAT.equals(value.getBelongPlatform()) || PlatformEnum.POS.equals(value.getBelongPlatform()) || PlatformEnum.OTHER.equals(value.getBelongPlatform())){
continue;
......@@ -266,8 +267,8 @@ public class DataController {
enable = false;
}
}
if (enable) {
hasAuthSet.add(value.getChannelCode());
if (!enable) {
hasAuthSet.remove(value.getChannelCode());
}
}
if (page != null) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment