Skip to content

Commit 57de013

Browse files
authored
Update README.md
1 parent 1c13342 commit 57de013

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,27 +52,27 @@ $bucketConfig = new Config('yourBucketName', 'yourOperatorName', 'yourOperatorPw
5252
$client = new Upyun($bucketConfig);
5353
```
5454

55-
1. 字符串写入又拍云服务器
55+
#### 字符串写入又拍云服务器
5656

5757
```
5858
$client->write('/save/path', 'file content');
5959
```
6060

61-
2. 文件流写入又拍云服务器
61+
#### 文件流写入又拍云服务器
6262

6363
```
6464
$file = fopen('/local/path/file', 'r');
6565
$client->write('/save/path', $file);
6666
```
6767

68-
3. 上传图片并转换格式为 `png`,详见[上传作图](http://docs.upyun.com/cloud/image/#_2)
68+
#### 上传图片并转换格式为 `png`,详见[上传作图](http://docs.upyun.com/cloud/image/#_2)
6969

7070
```
7171
$file = fopen('/local/path/image.jpg', 'r');
7272
$client->write('/save/image.png', $file, array('x-gmkerl-thumb' => '/format/png'));
7373
```
7474

75-
4. 下载文件并保存到本地
75+
#### 下载文件并保存到本地
7676

7777
```
7878
$saveLocal = fopen('/local/path/image.jpg', 'w');

0 commit comments

Comments
 (0)