Skip to content

Commit 4ed76c1

Browse files
committed
ci interface && bug fix
1 parent 6cd5287 commit 4ed76c1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Client.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141
* @see \Qcloud\Cos\Service::getService()
142142
*/
143143
class Client extends GuzzleClient {
144-
const VERSION = '2.5.5';
144+
const VERSION = '2.5.6';
145145

146146
public $httpClient;
147147

@@ -216,7 +216,8 @@ public function inputCheck() {
216216
if (empty($this->cosConfig['region']) &&
217217
empty($this->cosConfig['domain']) &&
218218
empty($this->cosConfig['endpoint']) &&
219-
empty($this->cosConfig['ip'])) {
219+
empty($this->cosConfig['ip']) &&
220+
!$this->cosConfig['allow_accelerate']) {
220221
$message = 'Region is empty';
221222
}
222223
//检查Secret

0 commit comments

Comments
 (0)