提现锁3分钟

三方请求超时时间 15秒
This commit is contained in:
wangw 2025-07-14 15:09:29 +08:00
parent 5807dd9127
commit f620508c8c
2 changed files with 2 additions and 1 deletions

View File

@ -97,7 +97,7 @@ public class AppCashController {
return Result.error("您未观看激励广告,请先观看");
}
}
redisUtils.set(intervalKey, true, 30);
redisUtils.set(intervalKey, true, 60 * 3);
CommonInfo info = commonInfoService.findOne(930);
if (info == null) {

View File

@ -280,6 +280,7 @@ public class WuyouPay {
String body = HttpRequest.post(url)
.header("Content-Type", "application/x-www-form-urlencoded")
.header("User-Agent", userAgent)
.timeout(15000)//超时时间单位毫秒
.body(JSONObject.toJSONString(params))
.execute()
.body();