|
@@ -1481,7 +1481,7 @@ public class ImGroupServiceImpl extends BaseServiceImpl<String, ImGroup> impleme
|
|
|
String content = jsonObject.getString("content");
|
|
|
|
|
|
// http开头的链接 扩展字段没有值 放在扩展字段里
|
|
|
- if (content.startsWith("http")) {
|
|
|
+ if (StringUtils.isNotBlank(content) && content.startsWith("http")) {
|
|
|
String extra = jsonObject.getString("extra");
|
|
|
if (StringUtils.isEmpty(extra)) {
|
|
|
jsonObject.put("extra", content);
|