This commit is contained in:
cc
2025-01-09 14:29:40 +08:00
parent 87d25d1f9b
commit e1d764a49e

View File

@@ -809,24 +809,39 @@ public class JDUtils {
}
case "刷新3090": {
String appKey = superAdmin.getAppKey();
String secretKey = superAdmin.getSecretKey();
if (Util.isAnyEmpty(appKey,secretKey)){
return;
}
long start = System.currentTimeMillis();
int count = fetchHistoricalOrders3090Do();
int count = fetchHistoricalOrders3090Do(appKey,secretKey);
long time = System.currentTimeMillis() - start;
content.append("订单行:").append(count).append(",耗时: ").append(time).append("ms, ").append((time) / 1000).append(" s\r");
break;
}
case "刷新1430": {
String appKey = superAdmin.getAppKey();
String secretKey = superAdmin.getSecretKey();
if (Util.isAnyEmpty(appKey,secretKey)){
return;
}
long start = System.currentTimeMillis();
int count = fetchHistoricalOrders1430Do();
int count = fetchHistoricalOrders1430Do(appKey,secretKey);
long time = System.currentTimeMillis() - start;
content.append("订单行:").append(count).append(",耗时: ").append(time).append("ms, ").append((time) / 1000).append(" s\r");
break;
}
case "刷新0714": {
String appKey = superAdmin.getAppKey();
String secretKey = superAdmin.getSecretKey();
if (Util.isAnyEmpty(appKey,secretKey)){
return;
}
long start = System.currentTimeMillis();
int count = fetchHistoricalOrders0714Do();
int count = fetchHistoricalOrders0714Do(appKey,secretKey);
long time = System.currentTimeMillis() - start;
content.append("订单行:").append(count).append(",耗时: ").append(time).append("ms, ").append((time) / 1000).append(" s\r");
break;