录单
This commit is contained in:
@@ -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 表示失败
|
||||
|
||||
Reference in New Issue
Block a user