| | |
| | | |
| | | import com.ruoyi.common.core.domain.R; |
| | | import com.ruoyi.system.service.impl.ScreenService; |
| | | import com.ruoyi.system.vo.ScreenRentIncomeTrendVO; |
| | | import com.ruoyi.system.vo.ScreenRentRankVO; |
| | | import com.ruoyi.system.vo.ScreenTopStaticsDataVO; |
| | | import io.swagger.annotations.Api; |
| | |
| | | public R<ScreenTopStaticsDataVO> getTopStaticsData() { |
| | | return R.ok(screenService.getTopStaticsData()); |
| | | } |
| | | @ApiOperation("区域租金排名") |
| | | @GetMapping("/rent-rank") |
| | | @ApiOperation("区域租金排名") |
| | | public R<List<ScreenRentRankVO>> rentRank() { |
| | | return R.ok(screenService.rentRank()); |
| | | return R.ok(screenService.streetRentRank()); |
| | | } |
| | | @GetMapping("/rent-income-trend") |
| | | @ApiOperation("租金收入趋势") |
| | | public R<ScreenRentIncomeTrendVO> rentIncomeTrend() { |
| | | return R.ok(screenService.rentIncomeTrend()); |
| | | } |
| | | } |