feat(37需求): 平台活动添加字段

This commit is contained in:
luying
2023-04-13 17:49:33 +08:00
parent 0899ac7773
commit 618d7d22e1
2 changed files with 5 additions and 1 deletions

View File

@@ -293,7 +293,7 @@ public async uploadQrCode() {
let filenames = part.filename.split('.');
ext = filenames[filenames.length - 1];
if(type == 'popNotice'|| type == 'loginPage' || type == 'loadingPage') {
if(type == 'popNotice'|| type == 'loginPage' || type == 'loadingPage' || type == 'icon') {
writePath = getLocalImgUrl(this.app.config.realEnv, type);
fileName = `${moment().valueOf()}.${ext}`;
remoteUrl = getRemoteImgUrl(this.app.config.realEnv, fileName, type);