小票logo 改名为 标签打印logo
This commit is contained in:
@@ -24,7 +24,7 @@ public class UShopExtendController {
|
|||||||
/**
|
/**
|
||||||
* 根据key获取拓展信息
|
* 根据key获取拓展信息
|
||||||
* @param shopId 店铺id
|
* @param shopId 店铺id
|
||||||
* @param autoKey key index_bg 首页 my_bg 个人中心 member_bg 会员卡 shopinfo_bg 商品列表 ticket_logo 小票logo
|
* @param autoKey key index_bg 首页 my_bg 个人中心 member_bg 会员卡 shopinfo_bg 商品列表 ticket_logo 标签打印logo
|
||||||
* @return 详细信息
|
* @return 详细信息
|
||||||
*/
|
*/
|
||||||
@GetMapping
|
@GetMapping
|
||||||
|
|||||||
@@ -104,7 +104,7 @@ public class ShopExtend implements Serializable {
|
|||||||
this.value = "https://czg-qr-order.oss-cn-beijing.aliyuncs.com/shopDetails/topBanner.png";
|
this.value = "https://czg-qr-order.oss-cn-beijing.aliyuncs.com/shopDetails/topBanner.png";
|
||||||
break;
|
break;
|
||||||
case "ticket_logo":
|
case "ticket_logo":
|
||||||
this.name = "小票logo";
|
this.name = "标签打印logo";
|
||||||
this.detail="建议尺寸: 417*139";
|
this.detail="建议尺寸: 417*139";
|
||||||
this.value = "https://cashier-oss.oss-cn-beijing.aliyuncs.com/upload/20241022/eeee8e85c66947e5bcaebf687381b5d6.png";
|
this.value = "https://cashier-oss.oss-cn-beijing.aliyuncs.com/upload/20241022/eeee8e85c66947e5bcaebf687381b5d6.png";
|
||||||
break;
|
break;
|
||||||
|
|||||||
@@ -22,11 +22,6 @@ import java.util.stream.Collectors;
|
|||||||
*/
|
*/
|
||||||
@Service
|
@Service
|
||||||
public class ShopExtendServiceImpl extends ServiceImpl<ShopExtendMapper, ShopExtend> implements ShopExtendService {
|
public class ShopExtendServiceImpl extends ServiceImpl<ShopExtendMapper, ShopExtend> implements ShopExtendService {
|
||||||
private final static Map<String, String> KEY_MAP = Map.of(
|
|
||||||
"index_bg", "首页",
|
|
||||||
"my_bg", "我的页面背景图",
|
|
||||||
"member_bg", ""
|
|
||||||
);
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Boolean edit(Long shopId, ShopExtendDTO shopExtendDTO) {
|
public Boolean edit(Long shopId, ShopExtendDTO shopExtendDTO) {
|
||||||
@@ -82,7 +77,7 @@ public class ShopExtendServiceImpl extends ServiceImpl<ShopExtendMapper, ShopExt
|
|||||||
shopExtend.setName("商品列表");
|
shopExtend.setName("商品列表");
|
||||||
break;
|
break;
|
||||||
case "ticket_logo":
|
case "ticket_logo":
|
||||||
shopExtend.setName("小票logo");
|
shopExtend.setName("标签打印logo");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user