feat(活动): 添加关注豪礼

This commit is contained in:
luying
2023-03-31 17:35:24 +08:00
parent 07b75c1510
commit 94b6dca4cc
15 changed files with 382 additions and 27 deletions

View File

@@ -47,7 +47,7 @@ export default (appInfo: EggAppInfo) => {
fileSize: '100mb',
mode: 'stream',
whitelist: [
'.json', '.ts', '.zip'
'.json', '.ts', '.zip', '.jpg', '.png', '.jpeg'
],
fileExtensions: ['.json', '.ts', '.zip', '.tar.gz'], // 扩展几种上传的文件格式
autoFields: true