获取当前店铺拓展参数详情接口

This commit is contained in:
张松
2025-03-07 18:42:17 +08:00
parent 80bcbad8bf
commit c337b49d14

View File

@@ -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<ShopExtend> detail(String autoKey) {
return CzgResult.success(shopExtendService.getOne(new QueryWrapper().eq(ShopExtend::getShopId, StpKit.USER.getShopId()).eq(ShopExtend::getAutoKey, autoKey)));
}
/**
* 店铺拓展参数修改
* @return 是否成功