3个热门接口去掉/public
This commit is contained in:
@@ -123,7 +123,7 @@ public class JobController {
|
|||||||
*
|
*
|
||||||
* @param limit 返回条数,默认10
|
* @param limit 返回条数,默认10
|
||||||
*/
|
*/
|
||||||
@GetMapping("/public/industry/hot")
|
@GetMapping("/industry/hot")
|
||||||
public List<HotIndustryVo> listHotIndustries(@RequestParam(required = false, defaultValue = "10") Integer limit) {
|
public List<HotIndustryVo> listHotIndustries(@RequestParam(required = false, defaultValue = "10") Integer limit) {
|
||||||
return jobService.listHotIndustries(limit);
|
return jobService.listHotIndustries(limit);
|
||||||
}
|
}
|
||||||
@@ -134,7 +134,7 @@ public class JobController {
|
|||||||
*
|
*
|
||||||
* @param limit 返回条数,默认10
|
* @param limit 返回条数,默认10
|
||||||
*/
|
*/
|
||||||
@GetMapping("/public/category/hot")
|
@GetMapping("/category/hot")
|
||||||
public List<HotJobCategoryVo> listHotJobCategories(@RequestParam(required = false, defaultValue = "10") Integer limit) {
|
public List<HotJobCategoryVo> listHotJobCategories(@RequestParam(required = false, defaultValue = "10") Integer limit) {
|
||||||
return jobService.listHotJobCategories(limit);
|
return jobService.listHotJobCategories(limit);
|
||||||
}
|
}
|
||||||
@@ -145,7 +145,7 @@ public class JobController {
|
|||||||
*
|
*
|
||||||
* @param limit 返回条数,默认10
|
* @param limit 返回条数,默认10
|
||||||
*/
|
*/
|
||||||
@GetMapping("/public/city/hot")
|
@GetMapping("/city/hot")
|
||||||
public List<HotCityVo> listHotCities(@RequestParam(required = false, defaultValue = "10") Integer limit) {
|
public List<HotCityVo> listHotCities(@RequestParam(required = false, defaultValue = "10") Integer limit) {
|
||||||
return jobService.listHotCities(limit);
|
return jobService.listHotCities(limit);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user