Skip to content

Commit

Permalink
Merge pull request #249 from jemygraw/master
Browse files Browse the repository at this point in the history
fix code style
  • Loading branch information
jemygraw authored Nov 6, 2017
2 parents 1baeafd + 9d2c936 commit 55f13a6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 7.2.2 (2017-11-06
### 增加
* Qiniu算法的鉴权方法

## 7.1.4 (2017-06-21)
### 增加
* cdn 文件/目录 刷新
Expand Down
8 changes: 1 addition & 7 deletions src/Qiniu/Auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,7 @@ public function privateDownloadUrl($baseUrl, $expires = 3600)
return "$baseUrl&token=$token";
}

public function uploadToken(
$bucket,
$key = null,
$expires = 3600,
$policy = null,
$strictPolicy = true
)
public function uploadToken($bucket, $key = null, $expires = 3600, $policy = null, $strictPolicy = true)
{
$deadline = time() + $expires;
$scope = $bucket;
Expand Down
2 changes: 1 addition & 1 deletion src/Qiniu/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

final class Config
{
const SDK_VER = '7.2.1';
const SDK_VER = '7.2.2';

const BLOCK_SIZE = 4194304; //4*1024*1024 分块上传块大小,该参数为接口规格,不能修改

Expand Down

0 comments on commit 55f13a6

Please sign in to comment.