mirror of
https://gitee.com/bookshelfplus/bookshelfplus
synced 2025-09-16 23:22:20 +08:00
定时任务相关修改;添加schedule_task数据库表;BusinessErrorCode扩充;QCloudCosUtils调整(暂存)
This commit is contained in:
@@ -317,7 +317,7 @@
|
||||
if (status === "success") {
|
||||
console.log(data);
|
||||
// 取得预授权URL,使用该URL进行文件上传
|
||||
uploadFile(file, data);
|
||||
uploadFile(file, data.url);
|
||||
} else {
|
||||
alert(`出错啦!${data.errMsg} (错误码: ${data.errCode}) `);
|
||||
}
|
||||
@@ -327,9 +327,9 @@
|
||||
});
|
||||
}
|
||||
|
||||
//##############################################
|
||||
//##############################################
|
||||
//传入预授权 URL ,将文件上传到这个地址
|
||||
//##############################################
|
||||
function uploadFile(file, preSignedUrl) {
|
||||
// refer: https://cloud.tencent.com/document/product/436/35651
|
||||
|
||||
|
Reference in New Issue
Block a user