| | |
| | | package com.ruoyi.other.controller; |
| | | |
| | | |
| | | import com.ruoyi.account.api.model.AppUser; |
| | | import com.ruoyi.common.core.domain.R; |
| | | import com.ruoyi.other.api.domain.VipSetting; |
| | | import com.ruoyi.other.service.VipSettingService; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import com.ruoyi.common.core.domain.R; |
| | | import com.ruoyi.other.api.domain.VipSetting; |
| | | import com.ruoyi.other.service.VipSettingService; |
| | |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.List; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | |
| | | public class VipSettingController { |
| | | @Resource |
| | | private VipSettingService vipSettingService; |
| | | @PostMapping("/info") |
| | | @ApiOperation(value = "获取各级会员信息", tags = {"小程序-个人中心首页"}) |
| | | public R<List<VipSetting>> info(){ |
| | | List<VipSetting> list = vipSettingService.list(); |
| | | return R.ok(list); |
| | | } |
| | | |
| | | |
| | | @GetMapping("getVipSettingById") |
| | | @ApiOperation(value = "获取会员设置") |