| | |
| | | /** |
| | | * 用户增量 |
| | | * |
| | | * @param cityIds 城市id |
| | | * @param cityList 城市列表 |
| | | */ |
| | | @ApiOperation(value = "后台-用户增量", tags = {"后台-首页"}) |
| | | @PostMapping(value = "/userTrends") |
| | | public R<List<UserTrendsVO>> userTrends(@RequestBody List<String> cityIds) { |
| | | return R.ok(userService.userTrends(cityIds)); |
| | | public R<List<UserTrendsVO>> userTrends(@RequestBody List<String> cityList) { |
| | | return R.ok(userService.userTrends(cityList)); |
| | | } |
| | | |
| | | /** |
| | |
| | | /** |
| | | * 师傅接单排行 |
| | | * |
| | | * @param cityIds 城市id集合 |
| | | * @param cityList 城市集合 |
| | | */ |
| | | @ApiOperation(value = "后台-师傅接单排行", tags = {"后台-首页"}) |
| | | @PostMapping(value = "/workerRanking") |
| | | public R<List<MasterWorkerRankVO>> workerRanking(@RequestBody List<String> cityIds) { |
| | | return R.ok(masterWorkerService.workerRanking(cityIds)); |
| | | public R<List<MasterWorkerRankVO>> workerRanking(@RequestBody List<String> cityList) { |
| | | return R.ok(masterWorkerService.workerRanking(cityList)); |
| | | } |
| | | |
| | | } |