This commit is contained in:
雷欧(林平凡)
2024-12-06 17:06:30 +08:00
parent 442bca0b3e
commit c59e7c398a

View File

@@ -727,7 +727,7 @@ public class JDUtils {
long start = System.currentTimeMillis(); long start = System.currentTimeMillis();
int count = fetchHistoricalOrders3060Do(); int count = fetchHistoricalOrders3060Do();
long time = System.currentTimeMillis() - start; long time = System.currentTimeMillis() - start;
content.append("订单行:").append(count).append("耗时: ").append(time).append("ms, ").append((time) / 1000).append(" s\r"); content.append("订单行:").append(count).append(",耗时: ").append(time).append("ms, ").append((time) / 1000).append(" s\r");
break; break;
} }
@@ -735,7 +735,7 @@ public class JDUtils {
long start = System.currentTimeMillis(); long start = System.currentTimeMillis();
int count = fetchHistoricalOrders1430Do(); int count = fetchHistoricalOrders1430Do();
long time = System.currentTimeMillis() - start; long time = System.currentTimeMillis() - start;
content.append("订单行:").append(count).append("耗时: ").append(time).append("ms, ").append((time) / 1000).append(" s\r"); content.append("订单行:").append(count).append(",耗时: ").append(time).append("ms, ").append((time) / 1000).append(" s\r");
break; break;
} }
@@ -743,7 +743,7 @@ public class JDUtils {
long start = System.currentTimeMillis(); long start = System.currentTimeMillis();
int count = fetchHistoricalOrders0714Do(); int count = fetchHistoricalOrders0714Do();
long time = System.currentTimeMillis() - start; long time = System.currentTimeMillis() - start;
content.append("订单行:").append(count).append("耗时: ").append(time).append("ms, ").append((time) / 1000).append(" s\r"); content.append("订单行:").append(count).append(",耗时: ").append(time).append("ms, ").append((time) / 1000).append(" s\r");
break; break;
} }
@@ -807,10 +807,16 @@ public class JDUtils {
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).append(".html").append("\r\n");
} }
wxUtil.sendTextMessage(WXUtil.super_admin_wxid, content.toString(), 1, WXUtil.super_admin_wxid);
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).append(".html").append("\r\n");
} }
wxUtil.sendTextMessage(WXUtil.super_admin_wxid, content.toString(), 1, WXUtil.super_admin_wxid);
content = new StringBuilder();
} }
// 转链 // 转链
if (order.startsWith("转链")) { if (order.startsWith("转链")) {