Forráskód Böngészése

添加保底发布userId

xueyiming 4 hete
szülő
commit
8ab0143e74

+ 3 - 0
long-article-server/src/main/java/com/tzld/piaoquan/longarticle/service/local/impl/ContentServiceImpl.java

@@ -317,6 +317,9 @@ public class ContentServiceImpl implements ContentService {
             } else {
             } else {
                 transformationType = TransformationEnum.NOT_EXIST.getType();
                 transformationType = TransformationEnum.NOT_EXIST.getType();
             }
             }
+            if (StringUtils.isEmpty(userId)) {
+                userId = SINGLE_VIDEO_UID;
+            }
             VideoDetail videoDetail = videoService.publish(videoOssPath, userId, title);
             VideoDetail videoDetail = videoService.publish(videoOssPath, userId, title);
             if (videoDetail == null) {
             if (videoDetail == null) {
                 continue;
                 continue;