Skip to content

Commit

Permalink
修改 签名 报错
Browse files Browse the repository at this point in the history
  • Loading branch information
carsonxu committed Dec 4, 2018
1 parent 174f1de commit e84677f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions demo/common/cos-auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@
// v5 签名
var CosAuth = function (opt) {

if (!SecretId) return console.error('missing param SecretId');
if (!SecretKey) return console.error('missing param SecretKey');
if (!opt.SecretId) return console.error('missing param SecretId');
if (!opt.SecretKey) return console.error('missing param SecretKey');

if (opt.Version === '4.0') {
return CosAuthV4(opt);
Expand Down
2 changes: 1 addition & 1 deletion demo/common/cos-auth.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e84677f

Please sign in to comment.