浏览代码

Merge branch '20251208-wyp-videoCustomTitleCover' into test

wangyunpeng 2 周之前
父节点
当前提交
7163325d3e

+ 2 - 2
api-module/src/main/java/com/tzld/piaoquan/api/service/contentplatform/impl/ContentPlatformPlanServiceImpl.java

@@ -198,10 +198,10 @@ public class ContentPlatformPlanServiceImpl implements ContentPlatformPlanServic
         String pageUrl = videoItemVO.getPageUrl();
         try {
             if (Objects.nonNull(video.getCustomTitleId()) && StringUtils.hasText(videoItemVO.getCustomTitle())) {
-                pageUrl += URLEncoder.encode("?shareTitleId=" + video.getCustomTitleId() + "?shareTitle=" + video.getCustomTitle(), "UTF-8");
+                pageUrl += URLEncoder.encode("&shareTitleId=" + video.getCustomTitleId() + "&shareTitle=" + video.getCustomTitle(), "UTF-8");
             }
             if (Objects.nonNull(video.getCustomCoverId()) && StringUtils.hasText(videoItemVO.getCustomCover())) {
-                pageUrl += URLEncoder.encode("?shareImageId=" + video.getCustomCoverId() + "?shareImageUrl=" + URLEncoder.encode(video.getCustomCover(), "UTF-8"), "UTF-8");
+                pageUrl += URLEncoder.encode("&shareImageId=" + video.getCustomCoverId() + "&shareImageUrl=" + URLEncoder.encode(video.getCustomCover(), "UTF-8"), "UTF-8");
             }
             return pageUrl;
         } catch (UnsupportedEncodingException e) {