Browse Source

Merge branch '20250925-wyp-uploadVideo' into test

wangyunpeng 1 tuần trước cách đây
mục cha
commit
f3c5972f31

+ 4 - 1
api-module/src/main/java/com/tzld/piaoquan/api/service/contentplatform/ContentPlatformPlanService.java

@@ -23,7 +23,10 @@ public interface ContentPlatformPlanService {
         if (StringUtils.hasText(video.getCustomCover())) {
             return video.getCustomCover();
         }
-        return video.getCover().substring(0, video.getCover().indexOf("?"));
+        if (video.getCover().contains("?")) {
+            return video.getCover().substring(0, video.getCover().indexOf("?"));
+        }
+        return video.getCover();
     }
 
     Page<GzhPlanItemVO> gzhPlanList(GzhPlanListParam param);