This commit is contained in:
雷欧(林平凡)
2024-11-21 16:25:53 +08:00
parent 647b360093
commit e19c59e491

View File

@@ -641,15 +641,18 @@ public class JDUtils {
content.append("订单不存在");
}
}
if (order.startsWith("SKU")){
if (order.startsWith("SKU")) {
order = order.replace("SKU", "");
String[] split = order.split("\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("手机端").append("\r\n");
for (String s : split) {
content.append("https://item.m.jd.com/product/").append(s).append(".html").append("\r\n");
}
}
content.append("").append("\r\n");
} else {
try {
sendOrderToWxByOrderJD("菜单");