From 3cf7a2113cf259d7276491d23b4bc2a65538723f Mon Sep 17 00:00:00 2001 From: filesite Date: Fri, 10 May 2024 08:54:17 +0800 Subject: [PATCH] change sms api timeout to 30 seconds --- themes/tajian/controller/FrontapiController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/tajian/controller/FrontapiController.php b/themes/tajian/controller/FrontapiController.php index ca5e26e..033703f 100644 --- a/themes/tajian/controller/FrontapiController.php +++ b/themes/tajian/controller/FrontapiController.php @@ -598,7 +598,7 @@ eof; $params['sign'] = $this->sign($params, FSC::$app['config']['service_3rd_api_key']); $api = FSC::$app['config']['service_3rd_api_domain'] . '/aliyun/sendverifycode/'; - $timeout = 10; + $timeout = 30; //api请求超时时长 $pc = false; $headers = array("Content-Type: application/json"); //以json格式post数据