From 85436501cb6cf38b62ced4b10f93ffbe930d8637 Mon Sep 17 00:00:00 2001 From: carsonxu <459452372@qq.com> Date: Fri, 1 Sep 2017 22:35:36 +0800 Subject: [PATCH] lifecycle --- demo/demo.js | 2 +- test/test.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/demo/demo.js b/demo/demo.js index de45b14..ba04fa7 100644 --- a/demo/demo.js +++ b/demo/demo.js @@ -294,7 +294,7 @@ function putBucketLifecycle() { 'Status': 'Enabled', 'Transition': { 'Date': '2016-10-31T00:00:00+08:00', - 'StorageClass': 'Standard_IA' + 'StorageClass': 'STANDARD_IA' } }] } diff --git a/test/test.js b/test/test.js index 4153f4d..69978a2 100644 --- a/test/test.js +++ b/test/test.js @@ -37,8 +37,8 @@ var getAuthorization = function (options, callback) { // 方法二(适用于前端调试) var authorization = COS.getAuthorization({ - SecretId: 'AKIDCIYwwlYPlLQ92cxDDh4uUGjoqWQ6lKfg', - SecretKey: 'kfjo40IGLMGUal6OJmphImD5omqZRDY2', + SecretId: 'AKIDxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', + SecretKey: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', method: (options.method || 'get').toLowerCase(), pathname: options.pathname || '/', });