瀏覽代碼

增加traceId

xueyiming 4 月之前
父節點
當前提交
26ddaff7f9

+ 1 - 0
long-article-server/src/main/java/com/tzld/piaoquan/longarticle/service/remote/impl/VideoServiceImpl.java

@@ -131,6 +131,7 @@ public class VideoServiceImpl implements VideoService {
         offVideo.setVideoId(publishMiniprogram.getVideoId());
         offVideo.setVideoStatus(1);
         offVideo.setPublishTime(System.currentTimeMillis() / 1000);
+        offVideo.setTraceId(publishMiniprogram.getTraceId());
         offVideoMapper.insertSelective(offVideo);
     }
 }