Kaynağa Gözat

[update] message:1.果园后台增加背景音乐

kelei 5 ay önce
ebeveyn
işleme
5fd312ae80

+ 1 - 1
admin/src/main/java/com/flyer/foster/controller/app/AppGardenController.java

@@ -29,6 +29,7 @@ public class AppGardenController {
 
     /**
      * 果园列表
+     *
      * @return
      */
     @GetMapping("/get")
@@ -49,5 +50,4 @@ public class AppGardenController {
         IPage<GardenRespDTO> page = new Page<>(current, size);
         return R.ok().result(iGardenService.getPageList(page, queryDTO));
     }
-
 }

+ 1 - 0
admin/src/main/java/com/flyer/foster/dto/GardenUpdateDTO.java

@@ -66,6 +66,7 @@ public class GardenUpdateDTO {
      */
     private String qrCode;
 
+    private String bgMusic;
 
     private String coverUrl1;
 

+ 5 - 0
admin/src/main/java/com/flyer/foster/entity/Garden.java

@@ -85,6 +85,11 @@ public class Garden implements Serializable {
      */
     private String qrCode;
 
+    /**
+     * 果园首页引导图背景音乐
+     */
+    private String bgMusic;
+
     private String coverUrl1;
 
     private String coverUrl1Content;

+ 1 - 0
admin/src/main/java/com/flyer/foster/service/impl/GardenServiceImpl.java

@@ -127,6 +127,7 @@ public class GardenServiceImpl extends ServiceImpl<IGardenMapper, Garden> implem
                 .set(updateDTO.getBirdseyeGardenId() != null, Garden::getBirdseyeGardenId, updateDTO.getBirdseyeGardenId())
                 .set(updateDTO.getUserId() != null, Garden::getUserId, updateDTO.getUserId())
                 .set(StrUtil.isNotBlank(updateDTO.getBaseMapUrl()), Garden::getBaseMapUrl, updateDTO.getBaseMapUrl())
+                .set(StrUtil.isNotBlank(updateDTO.getBgMusic()), Garden::getBgMusic, updateDTO.getBgMusic())
                 .set(StrUtil.isNotBlank(updateDTO.getCoverUrl1()), Garden::getCoverUrl1, updateDTO.getCoverUrl1())
                 .set(StrUtil.isNotBlank(updateDTO.getCoverUrl1Content()), Garden::getCoverUrl1Content, updateDTO.getCoverUrl1Content())
                 .set(StrUtil.isNotBlank(updateDTO.getCoverUrl2()), Garden::getCoverUrl2, updateDTO.getCoverUrl2())