更新ocr识别接口
This commit is contained in:
parent
9f1c440ab7
commit
a000ab203c
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user