File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -911,10 +911,10 @@ function putObject() {
911911 onProgress : function ( progressData ) {
912912 logger . log ( JSON . stringify ( progressData ) ) ;
913913 } ,
914- // 万象持久化接口,上传时持久化
915- // Headers: {
916- // 'Pic-Operations': '{"is_pic_info": 1, "rules": [{"fileid": "test.jpg", "rule": "imageMogr2/thumbnail/!50p"}]}'
917- // },
914+ Headers : {
915+ // 万象持久化接口,上传时持久化
916+ 'Pic-Operations' : '{"is_pic_info": 1, "rules": [{"fileid": "test.jpg", "rule": "imageMogr2/thumbnail/!50p"}]}'
917+ } ,
918918 } , function ( err , data ) {
919919 logger . log ( err || data ) ;
920920 } ) ;
@@ -1120,10 +1120,10 @@ function sliceUploadFile() {
11201120 Region : config . Region ,
11211121 Key : '3mb.zip' , /* 必须 */
11221122 Body : blob ,
1123- // 万象持久化接口,上传时持久化
1124- // Headers: {
1125- // 'Pic-Operations': '{"is_pic_info": 1, "rules": [{"fileid": "test.jpg", "rule": "imageMogr2/thumbnail/!50p"}]}'
1126- // },
1123+ Headers : {
1124+ // 万象持久化接口,上传时持久化
1125+ // 'Pic-Operations': '{"is_pic_info": 1, "rules": [{"fileid": "test.jpg", "rule": "imageMogr2/thumbnail/!50p"}]}'
1126+ } ,
11271127 onTaskReady : function ( tid ) {
11281128 TaskId = tid ;
11291129 } ,
You can’t perform that action at this time.
0 commit comments