|  | @@ -38,7 +38,6 @@ public class VideoServiceImpl implements VideoService {
 | 
	
		
			
				|  |  |      private RedisTemplate<String, Object> redisTemplate;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |      public VideoDetail publish(String ossPath, String uid, String title) {
 | 
	
		
			
				|  |  |          String videoId = publishToPQ(ossPath, uid, title);
 | 
	
		
			
				|  |  |          if (videoId == null) {
 | 
	
	
		
			
				|  | @@ -107,7 +106,7 @@ public class VideoServiceImpl implements VideoService {
 | 
	
		
			
				|  |  |              if (!CollectionUtils.isEmpty(data)) {
 | 
	
		
			
				|  |  |                  String id = list.get(0).getStr("id");
 | 
	
		
			
				|  |  |                  String shareImgPath = list.get(0).getStr("shareImgPath");
 | 
	
		
			
				|  |  | -                String coverImgPath = list.get(0).getJSONObject("coverImg").getStr("coverImgPath");
 | 
	
		
			
				|  |  | +                String coverImgPath = getCoverImgPath(shareImgPath);
 | 
	
		
			
				|  |  |                  String videoPath = list.get(0).getStr("videoPath");
 | 
	
		
			
				|  |  |                  if (StringUtils.isNotEmpty(id)) {
 | 
	
		
			
				|  |  |                      videoDetail.setVideoId(id);
 | 
	
	
		
			
				|  | @@ -123,6 +122,20 @@ public class VideoServiceImpl implements VideoService {
 | 
	
		
			
				|  |  |          return null;
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +    private String getCoverImgPath(String shareImgPath) {
 | 
	
		
			
				|  |  | +        String[] split = shareImgPath.split("/");
 | 
	
		
			
				|  |  | +        StringBuilder stringBuilder = new StringBuilder();
 | 
	
		
			
				|  |  | +        for (String s : split) {
 | 
	
		
			
				|  |  | +            if (!s.contains("watermark")) {
 | 
	
		
			
				|  |  | +                stringBuilder.append(s).append("/");
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +        if (stringBuilder.length() > 0) {
 | 
	
		
			
				|  |  | +            stringBuilder.deleteCharAt(stringBuilder.length() - 1);
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +        return stringBuilder.toString();
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |      @Override
 | 
	
		
			
				|  |  |      public void miniProgramVideoOff(String traceId) {
 | 
	
		
			
				|  |  |          try {
 |