Browse Source

更新店铺图标及地址,不再更新店铺图标,以后店铺图标要新增字段,现在用作店铺二维码。

dev
wangfukang 2 years ago
parent
commit
83988f934f
  1. 5
      hiver-modules/hiver-mall/src/main/java/cc/hiver/mall/controller/ShopController.java

5
hiver-modules/hiver-mall/src/main/java/cc/hiver/mall/controller/ShopController.java

@ -291,8 +291,9 @@ public class ShopController {
return ResultUtil.error("店铺id不能为空");
}
final Shop oldShop = shopService.get(id);
if(shop.getShopIcon() != null){
oldShop.setShopIcon(shop.getShopIcon());
// 20240803 不更新店铺图标,可更新店铺地址
if(shop.getShopAddress() != null){
oldShop.setShopAddress(shop.getShopAddress());
}
if(shop.getRemark() != null){
oldShop.setRemark(shop.getRemark());

Loading…
Cancel
Save