| | |
| | | import com.ruoyi.system.model.TSysBanner; |
| | | import com.ruoyi.system.query.TSysBannerQuery; |
| | | import com.ruoyi.system.service.TSysBannerService; |
| | | import com.ruoyi.system.vo.TSysBannerVO; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | |
| | | */ |
| | | @ApiOperation(value = "获取banner管理分页列表") |
| | | @PostMapping(value = "/pageList") |
| | | public R<PageInfo<TSysBanner>> pageList(@RequestBody TSysBannerQuery query) { |
| | | public R<PageInfo<TSysBannerVO>> pageList(@RequestBody TSysBannerQuery query) { |
| | | return R.ok(sysBannerService.pageList(query)); |
| | | } |
| | | |