| | |
| | | |
| | | |
| | | import cc.mrbird.febs.common.controller.BaseController; |
| | | import cc.mrbird.febs.common.entity.FebsResponse; |
| | | import cc.mrbird.febs.vip.service.IMallVipConfigService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.RequiredArgsConstructor; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | |
| | | @RestController |
| | | @RequiredArgsConstructor |
| | | @RequestMapping(value = "/api/vip/config") |
| | | @Api(value = "ApiMallVipConfigController", tags = "会员等级接口类") |
| | | public class ApiMallVipConfigController extends BaseController { |
| | | |
| | | private final IMallVipConfigService mallVipConfigService; |
| | | |
| | | |
| | | @ApiOperation(value = "获取会员等级列表") |
| | | @GetMapping(value = "/findVipList") |
| | | public FebsResponse findVipList() { |
| | | return new FebsResponse().success().data(mallVipConfigService.findConfigList()); |
| | | } |
| | | } |