luodangjia
2025-01-13 cc134fa83edea4865b48d7afc1acda5ad70e7465
ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/VipSettingController.java
@@ -158,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);
    }
@@ -205,6 +207,8 @@
    @ApiOperation(value = "设置", tags = {"后台-会员等级设置"})
    public R<Void> managelevelset(@RequestBody SetDto setDto) {
        vipSettingService.updateBatchById(setDto.getVipSettingList());
        //会员降级检测
        appUserClient.demotionDetection();
        return R.ok();
    }