File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -912,7 +912,9 @@ function putObject() {
912
912
logger . log ( JSON . stringify ( progressData ) ) ;
913
913
} ,
914
914
// 万象持久化接口,上传时持久化
915
- // 'Pic-Operations': '{"is_pic_info": 1, "rules": [{"fileid": "test.jpg", "rule": "imageMogr2/thumbnail/!50p"}]}'
915
+ // Headers: {
916
+ // 'Pic-Operations': '{"is_pic_info": 1, "rules": [{"fileid": "test.jpg", "rule": "imageMogr2/thumbnail/!50p"}]}'
917
+ // },
916
918
} , function ( err , data ) {
917
919
logger . log ( err || data ) ;
918
920
} ) ;
@@ -1119,7 +1121,9 @@ function sliceUploadFile() {
1119
1121
Key : '3mb.zip' , /* 必须 */
1120
1122
Body : blob ,
1121
1123
// 万象持久化接口,上传时持久化
1122
- // 'Pic-Operations': '{"is_pic_info": 1, "rules": [{"fileid": "test.jpg", "rule": "imageMogr2/thumbnail/!50p"}]}'
1124
+ // Headers: {
1125
+ // 'Pic-Operations': '{"is_pic_info": 1, "rules": [{"fileid": "test.jpg", "rule": "imageMogr2/thumbnail/!50p"}]}'
1126
+ // },
1123
1127
onTaskReady : function ( tid ) {
1124
1128
TaskId = tid ;
1125
1129
} ,
You can’t perform that action at this time.
0 commit comments