| | |
| | | import com.ruoyi.other.api.domain.VipGood; |
| | | import com.ruoyi.other.api.domain.VipSetting; |
| | | import com.ruoyi.other.api.feignClient.GoodsClient; |
| | | import com.ruoyi.other.dto.SetDto; |
| | | import com.ruoyi.other.dto.VipSetDto; |
| | | import com.ruoyi.other.service.BaseSettingService; |
| | | import com.ruoyi.other.service.VipGoodService; |
| | |
| | | } |
| | | @PostMapping("/manage/level/set") |
| | | @ApiOperation(value = "设置", tags = {"后台-会员等级设置"}) |
| | | public R<Void> managelevelset(@RequestBody List<VipSetting> vipSettingList) { |
| | | vipSettingService.updateBatchById(vipSettingList); |
| | | public R<Void> managelevelset(@RequestBody SetDto setDto) { |
| | | vipSettingService.updateBatchById(setDto.getVipSettingList()); |
| | | return R.ok(); |
| | | } |
| | | |