1
0
mirror of https://gitee.com/bookshelfplus/bookshelfplus synced 2025-09-16 23:22:20 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

定时任务相关修改;添加schedule_task数据库表;BusinessErrorCode扩充;QCloudCosUtils调整(暂存)

This commit is contained in:
2022-04-10 22:09:12 +08:00
parent c84cd46197
commit 63d8192372
14 changed files with 726 additions and 12 deletions

View File

@@ -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