Commit 2a36f3ff by xiaoer.li@freemud.com

fix

parent 40f28a76
...@@ -1863,10 +1863,15 @@ public class ShoppingCartNewServiceImpl implements ShoppingCartNewService { ...@@ -1863,10 +1863,15 @@ public class ShoppingCartNewServiceImpl implements ShoppingCartNewService {
enable = true; enable = true;
break; break;
case 1: { case 1: {
//商户+门店级别
String real = partnerId.concat(storeId); String real = partnerId.concat(storeId);
if (Arrays.asList(center.getGrayList().split(",")).contains(real)) { if (Arrays.asList(center.getGrayList().split(",")).contains(real)) {
enable = true; enable = true;
} }
//商户级别
else if (Arrays.asList(center.getGrayList().split(",")).contains(partnerId)) {
enable = true;
}
} }
} }
if (center.getEnable() && enable) { if (center.getEnable() && enable) {
......
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