diff --git a/cash-api/account-server/src/main/java/com/czg/controller/admin/ShopExtendController.java b/cash-api/account-server/src/main/java/com/czg/controller/admin/ShopExtendController.java index 2d3ddde92..a1b3b1763 100644 --- a/cash-api/account-server/src/main/java/com/czg/controller/admin/ShopExtendController.java +++ b/cash-api/account-server/src/main/java/com/czg/controller/admin/ShopExtendController.java @@ -35,6 +35,17 @@ public class ShopExtendController { return CzgResult.success(shopExtendService.listInfo(StpKit.USER.getShopId(), autoKey)); } + /** + * 获取当前店铺拓展参数详情 + * @param autoKey key名称 小票logo ticket_logo + * @return 详细信息 + */ + @SaAdminCheckPermission(value = "shopExtend:detail", name = "店铺拓展参数详情") + @GetMapping("/detail") + public CzgResult detail(String autoKey) { + return CzgResult.success(shopExtendService.getOne(new QueryWrapper().eq(ShopExtend::getShopId, StpKit.USER.getShopId()).eq(ShopExtend::getAutoKey, autoKey))); + } + /** * 店铺拓展参数修改 * @return 是否成功