Przeglądaj źródła

演出详情新增演出图片字段

zc 3 miesięcy temu
rodzic
commit
e5a085f0c6

+ 6 - 0
alien-entity/src/main/java/shop/alien/entity/store/vo/PerformanceDetailVo.java

@@ -75,5 +75,11 @@ public class PerformanceDetailVo implements Serializable {
      */
     @ApiModelProperty(value = "演出类型(0-特邀演出,1-常规演出)")
     private Integer performanceType;
+
+    /**
+     * 演出图片
+     */
+    @ApiModelProperty(value = "演出图片")
+    private String performanceDetail;
 }
 

+ 3 - 0
alien-store/src/main/java/shop/alien/store/service/impl/PerformanceListServiceImpl.java

@@ -838,6 +838,9 @@ public class PerformanceListServiceImpl implements PerformanceListService {
             // 设置演出人员数量
             vo.setGuestCount(guestList != null ? guestList.size() : 0);
 
+            // 设置演出图片
+            vo.setPerformanceDetail(performance.getPerformanceDetail());
+
             log.info("查询演出详情成功,id={},嘉宾数量:{}", id,
                     vo.getGuestCount());
             return vo;