更新ocr识别接口

This commit is contained in:
yaooo 2023-10-19 18:16:11 +08:00
parent 9f1c440ab7
commit a000ab203c

@ -422,7 +422,7 @@ class XunFeiController extends BaseApiController
];
$text = [];
try {
$client = new GzClient(['timeout' => 2]);
$client = new GzClient(['timeout' => 5]);
$response = $client->request('POST', $ocrHostUrl, [
'json' => $requestBody,
'verify' => false