Skip to content

Commit bf6c493

Browse files
committedOct 8, 2013
Merge pull request #46 from qiniu/develop
modify download domain
2 parents a6f8ad1 + e5425bb commit bf6c493

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ SDK源码地址:<https://github.com/qiniu/php-sdk/tags>
283283
//$baseUrl 就是您要访问资源的地址
284284
$baseUrl = Qiniu_RS_MakeBaseUrl($domain, $key);
285285

286-
其中<domain>可以到[七牛云存储开发者自助网站](https://portal.qiniu.com/)绑定, 域名可以使用自己一级域名的或者是由七牛提供的二级域名(`<bucket>.qiniudn.com`)。注意,尖括号不是必需,代表替换项
286+
其中<domain>是bucket所对应的域名。七牛云存储为每一个bucket提供一个默认域名。默认域名可以到[七牛云存储开发者平台](https://portal.qiniu.com/)中,空间设置的域名设置一节查询。用户也可以将自有的域名绑定到bucket上,通过自有域名访问七牛云存储
287287

288288
**注意: key必须采用utf8编码,如使用非utf8编码访问七牛云存储将反馈错误**
289289

‎tests/RsfTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ public function testListPrefix()
2626
$this->assertFalse($markerOut === '');
2727

2828
list($items, $markerOut, $err) = Qiniu_RSF_ListPrefix($this->client, $this->bucket, $this->key);
29-
$this->assertLessThanOrEqual(1, count($items));
29+
$this->assertLessThanOrEqual(count($items), 1);
3030
}
3131
}

0 commit comments

Comments
 (0)