更新ocr识别接口

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

View File

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