商家关闭活动开关能看到套餐列表1
This commit is contained in:
@@ -155,7 +155,7 @@ public class PpPackageServiceImpl extends ServiceImpl<PpPackageMapper, PpPackage
|
||||
|
||||
// 如果没有开启操作,直接返回空数据
|
||||
Integer promotionSwitch = getPackagePromotionSwitch(shopId);
|
||||
if (SystemConstants.OneZero.ZERO == promotionSwitch && !isAdmin) {
|
||||
if (!isAdmin && SystemConstants.OneZero.ZERO == promotionSwitch) {
|
||||
log.info("没有开启套餐推广");
|
||||
return new Page<>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user