Skip to content

Commit fdd4953

Browse files
committed
Generated php 2022-08-09 for Cloudauth-intl.
1 parent 32e3737 commit fdd4953

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

ChangeLog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2024-01-24 Version: 1.3.3
2+
- Generated php 2022-08-09 for Cloudauth-intl.
3+
14
2024-01-22 Version: 1.3.2
25
- Generated php 2022-08-09 for Cloudauth-intl.
36

src/Cloudauthintl.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,6 @@ public function cardOcrWithOptions($request, $runtime)
105105
if (!Utils::isUnset($request->idFaceQuality)) {
106106
$query['IdFaceQuality'] = $request->idFaceQuality;
107107
}
108-
if (!Utils::isUnset($request->idOcrPictureBase64)) {
109-
$query['IdOcrPictureBase64'] = $request->idOcrPictureBase64;
110-
}
111108
if (!Utils::isUnset($request->idOcrPictureUrl)) {
112109
$query['IdOcrPictureUrl'] = $request->idOcrPictureUrl;
113110
}
@@ -126,8 +123,13 @@ public function cardOcrWithOptions($request, $runtime)
126123
if (!Utils::isUnset($request->spoof)) {
127124
$query['Spoof'] = $request->spoof;
128125
}
126+
$body = [];
127+
if (!Utils::isUnset($request->idOcrPictureBase64)) {
128+
$body['IdOcrPictureBase64'] = $request->idOcrPictureBase64;
129+
}
129130
$req = new OpenApiRequest([
130131
'query' => OpenApiUtilClient::query($query),
132+
'body' => OpenApiUtilClient::parseToMap($body),
131133
]);
132134
$params = new Params([
133135
'action' => 'CardOcr',

src/Models/CardOcrRequest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ class CardOcrRequest extends Model
2323
public $idFaceQuality;
2424

2525
/**
26-
* @example dsjisaj***oekwodsm
27-
*
2826
* @var string
2927
*/
3028
public $idOcrPictureBase64;

0 commit comments

Comments
 (0)