Browse Source

change sms api timeout to 30 seconds

master
filesite 7 months ago
parent
commit
3cf7a2113c
  1. 2
      themes/tajian/controller/FrontapiController.php

2
themes/tajian/controller/FrontapiController.php

@ -598,7 +598,7 @@ eof; @@ -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数据

Loading…
Cancel
Save