|
|
|
@ -70,21 +70,21 @@ public class ScenicSpotController extends BaseController { |
|
|
|
|
* @param touristInfo |
|
|
|
|
* @return |
|
|
|
|
*/ |
|
|
|
|
@GetMapping("/scenicSpotSortlist") |
|
|
|
|
public AjaxResult scenicSpotSortlist(TouristInfo touristInfo) { |
|
|
|
|
@GetMapping("/scenicSpotSortList") |
|
|
|
|
public AjaxResult scenicSpotSortList(TouristInfo touristInfo) { |
|
|
|
|
touristInfo.setOrganCode(getUserOrganCode()); |
|
|
|
|
touristInfo.setStatus(USE.getValue()); |
|
|
|
|
List<ScenicSpotSortInfoVO> scenicInfoVOS = touristInfoService.selectScenicSpotSortInfoList(touristInfo); |
|
|
|
|
return success(scenicInfoVOS); |
|
|
|
|
} |
|
|
|
|
/** |
|
|
|
|
* 获取景点排序列表 |
|
|
|
|
* 景点排序 |
|
|
|
|
* |
|
|
|
|
* @param list |
|
|
|
|
* @return |
|
|
|
|
*/ |
|
|
|
|
@PostMapping("/updateScenicSpotSort") |
|
|
|
|
public AjaxResult scenicSpotSortlist(@RequestBody List<ScenicSpotSortInfoVO> list) { |
|
|
|
|
@PostMapping("/updateScenicSpotSortList") |
|
|
|
|
public AjaxResult updateScenicSpotSortList(@RequestBody List<ScenicSpotSortInfoVO> list) { |
|
|
|
|
return toAjax(touristInfoService.updateScenicSpotSortInfoList(list)); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|