Commit 8b227b79f24382915a44ffc3d7667e6763dddf3f
1 parent
6a08209a
更新README
Showing
1 changed file
with
5 additions
and
2 deletions
README.md
| ... | ... | @@ -9,7 +9,6 @@ |
| 9 | 9 | * 增加获取上传资源外链地址API |
| 10 | 10 | * 增加获取SP对应的BucketName API |
| 11 | 11 | * 增加获取版本号API |
| 12 | -* SP等信息加密处理 | |
| 13 | 12 | |
| 14 | 13 | 2017/8/20 (版本号:1.0.0) |
| 15 | 14 | |
| ... | ... | @@ -56,6 +55,7 @@ |
| 56 | 55 | */ |
| 57 | 56 | - (CNLivePutObjectResponse *)putObject:(CNLivePutObjectRequest *)putObjectRequest; |
| 58 | 57 | ``` |
| 58 | +**putObjectRequest.contentType**不设置默认为下载类型,[设置请参考contentType示例](http://tool.oschina.net/commons) | |
| 59 | 59 | |
| 60 | 60 | * 分块上传 |
| 61 | 61 | |
| ... | ... | @@ -70,7 +70,9 @@ |
| 70 | 70 | */ |
| 71 | 71 | - (CNLiveUploadPartResponse *)uploadPart:(CNLiveUploadPartRequest *)uploadPartRequest; |
| 72 | 72 | ``` |
| 73 | -调用这个接口会初始化一个分块上传,response会返回一个CNLiveMultipartUpload 对象,其属性有upload id, upload id 用来标识属于当前上传的具体的块,并且用来标识完成分块上传或者取消分块上传 | |
| 73 | +调用这个接口会初始化一个分块上传,response会返回一个CNLiveMultipartUpload 对象,其属性有upload id, upload id 用来标识属于当前上传的具体的块,并且用来标识完成分块上传或者取消分块上传。 | |
| 74 | + | |
| 75 | +**uploadPartRequest.contentType**不设置默认为下载类型,[设置请参考contentType示例](http://tool.oschina.net/commons) | |
| 74 | 76 | |
| 75 | 77 | * 取消分块上传 |
| 76 | 78 | |
| ... | ... | @@ -124,4 +126,4 @@ errorMessage = "app \U5f02\U5e38”; |
| 124 | 126 | errorCode = "sys_1002"; |
| 125 | 127 | errorMessage = "sign error”; |
| 126 | 128 | //appkey和appid不一致 |
| 127 | 129 | -``` |
| 130 | +``` | |
| 128 | 131 | \ No newline at end of file | ... | ... |