|  | @@ -19,10 +19,7 @@ import org.springframework.data.redis.core.RedisTemplate;
 | 
	
		
			
				|  |  |  import org.springframework.stereotype.Service;
 | 
	
		
			
				|  |  |  import org.springframework.util.CollectionUtils;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -import java.util.HashMap;
 | 
	
		
			
				|  |  | -import java.util.List;
 | 
	
		
			
				|  |  | -import java.util.Map;
 | 
	
		
			
				|  |  | -import java.util.Objects;
 | 
	
		
			
				|  |  | +import java.util.*;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  import static com.tzld.piaoquan.longarticle.common.constants.RedisConstant.REDIS_COOKIE_KEY;
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -53,7 +50,7 @@ public class VideoServiceImpl implements VideoService {
 | 
	
		
			
				|  |  |      private String publishToPQ(String ossPath, String uid, String title) {
 | 
	
		
			
				|  |  |          try {
 | 
	
		
			
				|  |  |              String cookie = (String) redisTemplate.opsForValue().get(REDIS_COOKIE_KEY);
 | 
	
		
			
				|  |  | -            if(StringUtils.isEmpty(cookie)){
 | 
	
		
			
				|  |  | +            if (StringUtils.isEmpty(cookie)) {
 | 
	
		
			
				|  |  |                  cookie = "JSESSIONID=4DEA2B5173BB9A9E82DB772C0ACDBC9F; JSESSIONID=D02C334150025222A0B824A98B539B78";
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |              Map<String, Object> payload = new HashMap<>();
 | 
	
	
		
			
				|  | @@ -94,6 +91,7 @@ public class VideoServiceImpl implements VideoService {
 | 
	
		
			
				|  |  |          return null;
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |      private VideoDetail getPQVideoDetail(String videoId) {
 | 
	
		
			
				|  |  |          try {
 | 
	
		
			
				|  |  |              Map<String, Object> data = new HashMap<>();
 | 
	
	
		
			
				|  | @@ -109,11 +107,13 @@ 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 videoPath = list.get(0).getStr("videoPath");
 | 
	
		
			
				|  |  |                  if (StringUtils.isNotEmpty(id)) {
 | 
	
		
			
				|  |  |                      videoDetail.setVideoId(id);
 | 
	
		
			
				|  |  |                  }
 | 
	
		
			
				|  |  | -                videoDetail.setVideoCover(shareImgPath);
 | 
	
		
			
				|  |  | +                videoDetail.setShareImgPath(shareImgPath);
 | 
	
		
			
				|  |  | +                videoDetail.setCoverImgPath(coverImgPath);
 | 
	
		
			
				|  |  |                  videoDetail.setVideoPath(videoPath);
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |              return videoDetail;
 |