This commit is contained in:
Van0313
2025-04-23 21:42:51 +08:00
parent 999fd713f3
commit 17e592e8ed

View File

@@ -1247,10 +1247,11 @@ public class JDUtil {
}
//textList.add(String.valueOf(images));
resultList.add(itemMap);
String title = "";
if (!isCj) {
try{
String[] lines = message.split("\\r?\\n");
String title = "";
if (lines.length > 0) {
title = lines[0];
// 有的换行了
@@ -1260,6 +1261,10 @@ public class JDUtil {
logger.info("文案首行 {}", title);
title = title.replaceAll("@|所有人", "");
}
}catch (Exception e){
logger.error("文案首行异常", e);
}
/*直接生成闲鱼的商品文案*/