1
This commit is contained in:
@@ -983,13 +983,13 @@ public class JDUtils {
|
|||||||
String[] split = order.split("\r\n");
|
String[] split = order.split("\r\n");
|
||||||
content.append("电脑端").append("\r\n");
|
content.append("电脑端").append("\r\n");
|
||||||
for (String s : split) {
|
for (String s : split) {
|
||||||
content.append("https://item.jd.com/").append(s).append(".html").append("\r\n");
|
content.append("https://item.jd.com/").append(s.trim()).append(".html").append("\r\n");
|
||||||
}
|
}
|
||||||
wxUtil.sendTextMessage(fromWxid, content.toString(), 1, fromWxid);
|
wxUtil.sendTextMessage(fromWxid, content.toString(), 1, fromWxid);
|
||||||
content = new StringBuilder();
|
content = new StringBuilder();
|
||||||
content.append("手机端").append("\r\n");
|
content.append("手机端").append("\r\n");
|
||||||
for (String s : split) {
|
for (String s : split) {
|
||||||
content.append("https://item.m.jd.com/product/").append(s).append(".html").append("\r\n");
|
content.append("https://item.m.jd.com/product/").append(s.trim()).append(".html").append("\r\n");
|
||||||
}
|
}
|
||||||
wxUtil.sendTextMessage(fromWxid, content.toString(), 1, fromWxid);
|
wxUtil.sendTextMessage(fromWxid, content.toString(), 1, fromWxid);
|
||||||
content = new StringBuilder();
|
content = new StringBuilder();
|
||||||
@@ -1001,8 +1001,7 @@ public class JDUtils {
|
|||||||
order = order.replace("转链", "");
|
order = order.replace("转链", "");
|
||||||
String[] split = order.split("\r\n");
|
String[] split = order.split("\r\n");
|
||||||
for (String s : split) {
|
for (String s : split) {
|
||||||
String trim = s.trim();
|
content.append("https://item.jd.com/").append(s.trim()).append(".html").append("\r\n");
|
||||||
content.append("https://item.jd.com/").append(trim).append(".html").append("\r\n");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user