You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
792 B
24 lines
792 B
5 months ago
|
@RequestMapping("/getAttractionsById")
|
||
|
@ResponseBody
|
||
|
public Result getAttractionsById(String id) {
|
||
|
return ResultGenerator.genSuccessResult(systemService.getAttractionsById(id));
|
||
|
}
|
||
|
|
||
|
@RequestMapping("/updateAttractionsStatus")
|
||
|
@ResponseBody
|
||
|
public Result updateAttractionsStatus(String id) {
|
||
|
return systemService.updateAttractionsStatus(id);
|
||
|
}
|
||
|
|
||
|
@RequestMapping("/saveAttractions")
|
||
|
@ResponseBody
|
||
|
public Result saveAttractions(Attractions attractions) {
|
||
|
return systemService.saveAttractions(attractions);
|
||
|
}
|
||
|
|
||
|
@RequestMapping("/travelRouteListUI")
|
||
|
public String travelRouteListUI(Model model, @PageableDefault(size = 10) Pageable pageable) {
|
||
|
Page<TravelRoute> page = systemService.getTravelRoutePage(pageable);
|
||
|
model.addAttribute("page", page);
|
||
|
return "system/route/list";
|
||
|
}
|