bug fix
This commit is contained in:
@@ -1269,6 +1269,7 @@ public class JDUtil {
|
|||||||
|
|
||||||
if (!isCj) {
|
if (!isCj) {
|
||||||
try {
|
try {
|
||||||
|
if (!message.equals(url)){
|
||||||
String[] lines = message.split("\\r?\\n");
|
String[] lines = message.split("\\r?\\n");
|
||||||
if (lines.length > 0) {
|
if (lines.length > 0) {
|
||||||
title = lines[0];
|
title = lines[0];
|
||||||
@@ -1279,6 +1280,8 @@ public class JDUtil {
|
|||||||
logger.info("文案首行 {}", title);
|
logger.info("文案首行 {}", title);
|
||||||
title = title.replaceAll("@|所有人", "");
|
title = title.replaceAll("@|所有人", "");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
logger.error("文案首行异常", e);
|
logger.error("文案首行异常", e);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user