From 56d62d9edb0dda9ae678dcea2323144db5d11c22 Mon Sep 17 00:00:00 2001 From: puzhibing <393733352@qq.com> Date: 星期六, 28 十二月 2024 18:06:58 +0800 Subject: [PATCH] 修改bug --- ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/VipSettingController.java | 9 +++++++++ 1 files changed, 9 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 c7f9387..73b3308 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 @@ -113,6 +113,13 @@ } + @PostMapping("getVipSettingById1") + public R<VipSetting> getVipSettingById1(@RequestParam("id") Integer id) { + return R.ok(vipSettingService.getById(id)); + } + + + /** * 查询会员配置 * @param id @@ -151,6 +158,8 @@ vipSetDto.setPartPoint(new BigDecimal(base1.getContent())); BaseSetting base2 = baseSettingService.getById(2); vipSetDto.setBottomPartPoint(new BigDecimal(base2.getContent())); + BaseSetting base3 = baseSettingService.getById(3); + vipSetDto.setVipInfo(base3.getContent()); return R.ok(vipSetDto); } -- Gitblit v1.7.1