From c85b8ad45ab8a02183bde5d66d025dc5b5718607 Mon Sep 17 00:00:00 2001 From: phpcjl <phpcjl@gmail.com> Date: 星期五, 13 十二月 2024 14:52:44 +0800 Subject: [PATCH] 1.后台管理-评论 2.后台管理-门店特殊价 --- ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/VipSettingController.java | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/VipSettingController.java b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/VipSettingController.java index b7762db..0fd2778 100644 --- a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/VipSettingController.java +++ b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/VipSettingController.java @@ -111,6 +111,22 @@ return R.ok(vipSettingService.getById(id)); } + + /** + * 查询会员配置 + * @param id + * @return + */ + @PostMapping("/getVipSetting") + public R<VipSetting> getVipSetting(@RequestParam("id") Integer id) { + return R.ok(vipSettingService.getById(id)); + } + + @GetMapping("/list") + public R<List<VipSetting>> getList(){ + return R.ok(vipSettingService.list()); + } + @GetMapping("/manage/info") @ApiOperation(value = "查询", tags = {"后台-会员设置"}) public R<VipSetDto> managesetinfo() { -- Gitblit v1.7.1