Skip to content

Commit 8b9c3a9

Browse files
committed
Disable Base64 Image string data support.
1 parent 324459d commit 8b9c3a9

File tree

3 files changed

+5
-57
lines changed

3 files changed

+5
-57
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG
22

3+
## 1.8.33 - 2019-12-30
4+
- Disable Base64 Image string data support.
5+
6+
37
## 1.8.32 - 2019-12-30
48
- Visionai online.
59

src/Facebody/V20191230/FacebodyApiResolver.php

-56
Original file line numberDiff line numberDiff line change
@@ -29,28 +29,13 @@ class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
2929
}
3030

3131
/**
32-
* @method string getImageContentB()
3332
* @method string getImageType()
34-
* @method string getImageContentA()
3533
* @method string getImageURLB()
3634
* @method string getImageURLA()
3735
*/
3836
class CompareFace extends Rpc
3937
{
4038

41-
/**
42-
* @param string $value
43-
*
44-
* @return $this
45-
*/
46-
public function withImageContentB($value)
47-
{
48-
$this->data['ImageContentB'] = $value;
49-
$this->options['form_params']['ImageContentB'] = $value;
50-
51-
return $this;
52-
}
53-
5439
/**
5540
* @param string $value
5641
*
@@ -64,19 +49,6 @@ public function withImageType($value)
6449
return $this;
6550
}
6651

67-
/**
68-
* @param string $value
69-
*
70-
* @return $this
71-
*/
72-
public function withImageContentA($value)
73-
{
74-
$this->data['ImageContentA'] = $value;
75-
$this->options['form_params']['ImageContentA'] = $value;
76-
77-
return $this;
78-
}
79-
8052
/**
8153
* @param string $value
8254
*
@@ -107,7 +79,6 @@ public function withImageURLA($value)
10779
/**
10880
* @method string getImageType()
10981
* @method string getImageURL()
110-
* @method string getImageContent()
11182
*/
11283
class DetectFace extends Rpc
11384
{
@@ -137,25 +108,11 @@ public function withImageURL($value)
137108

138109
return $this;
139110
}
140-
141-
/**
142-
* @param string $value
143-
*
144-
* @return $this
145-
*/
146-
public function withImageContent($value)
147-
{
148-
$this->data['ImageContent'] = $value;
149-
$this->options['form_params']['ImageContent'] = $value;
150-
151-
return $this;
152-
}
153111
}
154112

155113
/**
156114
* @method string getImageType()
157115
* @method string getImageURL()
158-
* @method string getImageContent()
159116
*/
160117
class RecognizeFace extends Rpc
161118
{
@@ -185,17 +142,4 @@ public function withImageURL($value)
185142

186143
return $this;
187144
}
188-
189-
/**
190-
* @param string $value
191-
*
192-
* @return $this
193-
*/
194-
public function withImageContent($value)
195-
{
196-
$this->data['ImageContent'] = $value;
197-
$this->options['form_params']['ImageContent'] = $value;
198-
199-
return $this;
200-
}
201145
}

src/Release.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class Release
1616
/**
1717
* Version of the SDK
1818
*/
19-
const VERSION = '1.8.32';
19+
const VERSION = '1.8.33';
2020

2121
/**
2222
* @param Event $event

0 commit comments

Comments
 (0)