bug fix
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*直接生成闲鱼的商品文案*/
|
||||
|
||||
Reference in New Issue
Block a user