From 417adaa72f4ab9e5df724d9ef598faad674c9cd8 Mon Sep 17 00:00:00 2001 From: phpcjl <phpcjl@gmail.com> Date: 星期二, 10 十二月 2024 18:01:12 +0800 Subject: [PATCH] 1. --- ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/VipSettingController.java | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 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 4af566f..ceb74b9 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 @@ -92,7 +92,18 @@ @GetMapping("getVipSettingById") @ApiOperation(value = "获取会员设置") - public R<VipSetting> getVipSettingById(@ApiParam(value = "会员id") @RequestParam Integer id) { + public R<VipSetting> getVipSettingById(@ApiParam(value = "会员id") @RequestParam("id") Integer id) { + 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)); } } -- Gitblit v1.7.1