| | |
| | | |
| | | import cc.mrbird.febs.common.controller.BaseController; |
| | | import cc.mrbird.febs.common.entity.FebsResponse; |
| | | import cc.mrbird.febs.mall.mapper.DataDictionaryCustomMapper; |
| | | import cc.mrbird.febs.vip.entity.MallVipBenefits; |
| | | import cc.mrbird.febs.vip.entity.MallVipConfig; |
| | | import cc.mrbird.febs.vip.service.IMallVipBenefitsService; |
| | |
| | | |
| | | private final IMallVipConfigService mallVipConfigService; |
| | | private final IMallVipBenefitsService mallVipBenefitsService; |
| | | private final DataDictionaryCustomMapper dataDictionaryCustomMapper; |
| | | |
| | | |
| | | @ApiOperation(value = "获取会员等级列表") |
| | |
| | | mallVipBenefitsService.getBenefits(id); |
| | | return new FebsResponse().success().message("领取成功"); |
| | | } |
| | | |
| | | @ApiOperation(value = "获取会员中心背景图片") |
| | | @GetMapping(value = "/findVipCenterBg") |
| | | public FebsResponse findVipCenterBg() { |
| | | return new FebsResponse().success().data(dataDictionaryCustomMapper.selectDicByType("VIP_CENTER_BACKGROUND")); |
| | | } |
| | | } |