Преглед на файлове

Merge branch 'dev-xym-fix1' of Server/long-article-manage into master

xueyiming преди 2 месеца
родител
ревизия
bebc6311f4
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3 0
      long-article-server/src/main/java/com/tzld/piaoquan/longarticle/service/local/impl/ContentServiceImpl.java

+ 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 {
                 transformationType = TransformationEnum.NOT_EXIST.getType();
             }
+            if (StringUtils.isEmpty(userId)) {
+                userId = SINGLE_VIDEO_UID;
+            }
             VideoDetail videoDetail = videoService.publish(videoOssPath, userId, title);
             if (videoDetail == null) {
                 continue;