This commit is contained in:
Van0313
2025-06-25 00:36:45 +08:00
parent be0ae71154
commit 96e053dd48

View File

@@ -1933,7 +1933,7 @@ public class JDUtil {
try {
String fetchUrl = "http://192.168.8.6:5000/fetch_comments?product_id=" + product_id;
// 用hutool发起post请求
HttpResponse response = HttpRequest.post(fetchUrl).timeout(60000).execute();
HttpResponse response = HttpRequest.post(fetchUrl).timeout(1000 * 60 * 10).execute();
logger.info("fetchUrl: {}", fetchUrl);
// code = 200 表示成功,-200 表示失败