Browse Source

fix: 修改APP接口航线详情添加预定须知,登船须知,儿童预定说明字段

luofeiyun 2 weeks ago
parent
commit
469e274fbd

+ 4 - 1
ship-module-resource/ship-module-resource-biz/src/main/java/com/yc/ship/module/resource/controller/app/route/AppResourceRouteController.java

@@ -64,7 +64,10 @@ public class AppResourceRouteController {
                 .setDayNum(route.getDayNum())
                 .setNightNum(route.getNightNum())
                 .setRouteDetail(route.getRouteDetail())
-                .setRouteImg(route.getRouteImg());
+                .setRouteImg(route.getRouteImg())
+                .setBookingNotice(route.getBookingNotice())
+                .setBoardingNotice(route.getBoardingNotice())
+                .setChildBookingNotice(route.getChildBookingNotice());
         ResourceShipDO ship = shipService.getShip(shipId);
         respVO.setShipId(shipId)
                 .setShipName(ship.getName())

+ 18 - 0
ship-module-resource/ship-module-resource-biz/src/main/java/com/yc/ship/module/resource/controller/app/route/vo/AppResourceRouteDetailRespVO.java

@@ -48,4 +48,22 @@ public class AppResourceRouteDetailRespVO {
 
     @Schema(description = "游轮详情")
     private ResourceShipRespVO shipDetail;
+
+    /**
+     * 预订须知
+     */
+    @Schema(description = "预订须知")
+    private String bookingNotice;
+
+    /**
+     * 登船须知
+     */
+    @Schema(description = "登船须知")
+    private String boardingNotice;
+
+    /**
+     * 儿童预定说明
+     */
+    @Schema(description = "儿童预定说明")
+    private String childBookingNotice;
 }