Skip to content

Commit e84677f

Browse files
committed
修改 签名 报错
1 parent 174f1de commit e84677f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

demo/common/cos-auth.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@
6161
// v5 签名
6262
var CosAuth = function (opt) {
6363

64-
if (!SecretId) return console.error('missing param SecretId');
65-
if (!SecretKey) return console.error('missing param SecretKey');
64+
if (!opt.SecretId) return console.error('missing param SecretId');
65+
if (!opt.SecretKey) return console.error('missing param SecretKey');
6666

6767
if (opt.Version === '4.0') {
6868
return CosAuthV4(opt);

demo/common/cos-auth.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)