This commit is contained in:
qianhao.xu
2024-12-18 15:06:02 +08:00
parent f4f612a39e
commit ac7829ab6c
7 changed files with 114 additions and 93 deletions

View File

@@ -17,15 +17,16 @@
"IsAutoCloseConnection": true,
"DbName": "bzfm_mes" //代码生成默认连接数据库,Oracle库是实例的名称
},
"ShowDbLog": false, //是否打印db日志
"urls": "http://0.0.0.0:8888", //项目启动url如果改动端口前端对应devServer也需要进行修改
"ShowDbLog": true, //是否打印db日志
"urls": "http://*.*.*.*:8888", //项目启动url如果改动端口前端对应devServer也需要进行修改
"corsUrls": [ "http://localhost:8887", "http://localhost:8886", "http://localhost:9090", "http://localhost:8080" ], //跨域地址(前端启动项目,前后端分离单独部署需要设置),多个用","隔开
"Upload": {
"rootDirectory": "D:/MES/file",
"uploadUrl": "http://127.0.0.1:7000", //本地存储资源访问路径
"rootDirectory": "D:/mes/file",
"uploadUrl": "http://192.168.1.106:8888", //本地存储资源访问路径
"localSavePath": "", //本地上传默认文件存储目录 wwwroot+localSavePath
"maxSize": 15, //上传文件大小限制 15M
"notAllowedExt": [ ".bat", ".exe", ".jar", ".js" ]
"notAllowedExt": [ ".bat", ".exe", ".jar", ".js" ],
"requestLimitSize": 1024
}
}