|
@@ -35,7 +35,6 @@ import java.util.stream.Collectors;
|
|
|
@Tag(name = "门户网站旅游游记接口")
|
|
|
@Slf4j
|
|
|
@RestController
|
|
|
-@SaIgnore
|
|
|
@Validated
|
|
|
@RequestMapping("/website/tourism/projectTravelNotes")
|
|
|
public class WebsiteTourismProjectTravelNotesController {
|
|
@@ -60,6 +59,7 @@ public class WebsiteTourismProjectTravelNotesController {
|
|
|
*/
|
|
|
@OperationLog(type = SysOperationLogType.LIST)
|
|
|
@GetMapping("/homeList")
|
|
|
+ @SaIgnore
|
|
|
public ResponseResult<MyPageData<TourTourismProjectTravelNotesVo>> tourTourismTravelNotesList(TourismProjectTravelNotesToWebDto tourismProjectTravelNotesToWebDto) {
|
|
|
MyPageData<TourTourismProjectTravelNotesVo> tourTourismProjectTravelNotesList = basicToWebServicel.getTourTourismProjectTravelNotesList(tourismProjectTravelNotesToWebDto);
|
|
|
|
|
@@ -84,6 +84,7 @@ public class WebsiteTourismProjectTravelNotesController {
|
|
|
*/
|
|
|
@OperationLog(type = SysOperationLogType.LIST)
|
|
|
@GetMapping("/travelNotesDetail")
|
|
|
+ @SaIgnore
|
|
|
public ResponseResult<TourTourismProjectTravelNotesVo> travelNotesDetail(@RequestParam String id) {
|
|
|
|
|
|
TourTourismProjectTravelNotesVo tourTourismProjectTravelNotesVo = basicToWebServicel.travelNotesDetail(id);
|
|
@@ -145,6 +146,7 @@ public class WebsiteTourismProjectTravelNotesController {
|
|
|
*/
|
|
|
@OperationLog(type = SysOperationLogType.LIST)
|
|
|
@GetMapping("/travelNotesDirectoryList")
|
|
|
+ @SaIgnore
|
|
|
public ResponseResult<List<TourTravelNotesDirectoryVo>> travelNotesDirectoryList() {
|
|
|
|
|
|
//设置排序
|
|
@@ -192,6 +194,7 @@ public class WebsiteTourismProjectTravelNotesController {
|
|
|
*/
|
|
|
@OperationLog(type = SysOperationLogType.LIST)
|
|
|
@GetMapping("/relateProjectList")
|
|
|
+ @SaIgnore
|
|
|
public ResponseResult<List<TourismProjectVo>> relateProjectList(@RequestParam(required = true) String travelNotesId) {
|
|
|
|
|
|
TourTravelNotesProjectRelation tourTravelNotesProjectRelation = new TourTravelNotesProjectRelation();
|
|
@@ -229,6 +232,7 @@ public class WebsiteTourismProjectTravelNotesController {
|
|
|
*/
|
|
|
@OperationLog(type = SysOperationLogType.LIST)
|
|
|
@GetMapping("/getLikeCount")
|
|
|
+ @SaIgnore
|
|
|
public ResponseResult<Integer> getLikeCount(@RequestParam(required = true) Long travelNotesId) {
|
|
|
|
|
|
TourTourismProjectTravelNotes tourTourismProjectTravelNotes = tourTourismProjectTravelNotesService.getById(travelNotesId);
|