修改vip价格

This commit is contained in:
wuchunlei
2025-03-05 09:17:41 +08:00
parent 3cfcfee825
commit efc893767d
3 changed files with 54 additions and 1 deletions

View File

@@ -280,7 +280,7 @@ public class ShopProductController {
}
for (ShopProductBookEntity spbe : ss) {
ShopProduct ca_sp = shopProductService.getById(spbe.getProductId());
if (ca_sp.getIsVipPrice()==1){
if (!userVipService.noVip()&&ca_sp.getIsVipPrice()==1){
ca_sp.setVipPrice(shopProductService.getVipPrice(ca_sp));
}
frag.add(ca_sp);