|  | @@ -1410,7 +1410,17 @@ public class ImGroupServiceImpl extends BaseServiceImpl<String, ImGroup> impleme
 | 
	
		
			
				|  |  |          List<TencentRequest.MessageBody> bodyList = new ArrayList<>();
 | 
	
		
			
				|  |  |          if (i.getClassname().equals("RC:TxtMsg")) {
 | 
	
		
			
				|  |  |              //文本
 | 
	
		
			
				|  |  | -            TencentRequest.MessageBody body1 = getTimTextElem(jsonObject.getString("content"));
 | 
	
		
			
				|  |  | +            //文本
 | 
	
		
			
				|  |  | +            String content = jsonObject.getString("content");
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +            // http开头的链接 扩展字段没有值 放在扩展字段里
 | 
	
		
			
				|  |  | +            if (content.startsWith("http")) {
 | 
	
		
			
				|  |  | +                String extra = jsonObject.getString("extra");
 | 
	
		
			
				|  |  | +                if (StringUtils.isEmpty(extra)) {
 | 
	
		
			
				|  |  | +                    jsonObject.put("extra", content);
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  | +            TencentRequest.MessageBody body1 = getTimTextElem(content);
 | 
	
		
			
				|  |  |              bodyList.add(body1);
 | 
	
		
			
				|  |  |          } else if (i.getClassname().equals("RC:ImgMsg")) {
 | 
	
		
			
				|  |  |              //图片
 | 
	
	
		
			
				|  | @@ -1479,7 +1489,17 @@ public class ImGroupServiceImpl extends BaseServiceImpl<String, ImGroup> impleme
 | 
	
		
			
				|  |  |          List<TencentRequest.MessageBody> list = new ArrayList<>();
 | 
	
		
			
				|  |  |          if (i.getClassname().equals("RC:TxtMsg")) {
 | 
	
		
			
				|  |  |              //文本
 | 
	
		
			
				|  |  | -            TencentRequest.MessageBody body1 = getTimTextElem(jsonObject.getString("content"));
 | 
	
		
			
				|  |  | +            String content = jsonObject.getString("content");
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +            // http开头的链接 扩展字段没有值 放在扩展字段里
 | 
	
		
			
				|  |  | +            if (content.startsWith("http")) {
 | 
	
		
			
				|  |  | +                String extra = jsonObject.getString("extra");
 | 
	
		
			
				|  |  | +                if (StringUtils.isEmpty(extra)) {
 | 
	
		
			
				|  |  | +                    jsonObject.put("extra", content);
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +            TencentRequest.MessageBody body1 = getTimTextElem(content);
 | 
	
		
			
				|  |  |              list.add(body1);
 | 
	
		
			
				|  |  |          } else if (i.getClassname().equals("RC:ImgMsg")) {
 | 
	
		
			
				|  |  |              //图片
 |