Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
BaKbu
/
ssoUpload
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
400b2e7e
authored
Mar 02, 2026
by
linq
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
支持上传excel
parent
070d06a0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
src/main/resources/application-prod.yml
src/main/resources/application-test.yml
src/main/resources/application.yml
src/main/resources/application-prod.yml
View file @
400b2e7e
...
...
@@ -17,7 +17,7 @@ file:
upload
:
local-path
:
/home/ssoUpload
# 测试环境存储路径(建议独立于生产)
base-url
:
http://10.121.22.151:8080/ssoUpload/
# 测试环境访问URL(本地或测试服务器IP)
allow-types
:
image/jpeg,image/png,audio/mpeg,audio/wav,video/mp4,video/x-flv
allow-types
:
image/jpeg,image/png,audio/mpeg,audio/wav,video/mp4,video/x-flv
,application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
#支持EXCEL
# 测试环境日志配置
logging
:
level
:
...
...
src/main/resources/application-test.yml
View file @
400b2e7e
...
...
@@ -15,9 +15,9 @@ server:
# 测试环境文件存储配置(本地/开发服务器路径)
file
:
upload
:
local-path
:
/
Users/baiyh/Desktop/test
# 测试环境存储路径(建议独立于生产)
base-url
:
http://
localhost:4399
# 测试环境访问URL(本地或测试服务器IP)
allow-types
:
image/jpeg,image/png,audio/mpeg,audio/wav,video/mp4,video/x-flv
local-path
:
/
home/ssoUpload
# 测试环境存储路径(建议独立于生产)
base-url
:
http://
10.121.24.151:8080/ssoUpload/
# 测试环境访问URL(本地或测试服务器IP)
allow-types
:
image/jpeg,image/png,audio/mpeg,audio/wav,video/mp4,video/x-flv
,application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
#支持EXCEL
# 测试环境日志配置
logging
:
...
...
@@ -25,4 +25,4 @@ logging:
root
:
INFO
com.makeit
:
DEBUG
# 测试环境日志级别可略低,便于调试
file
:
name
:
/Users/baiyh/Desktop/test/ssoUpload-test.log
# 测试日志路径
\ No newline at end of file
name
:
/home/ssoUpload/ssoUpload-test.log
# 测试日志路径
\ No newline at end of file
src/main/resources/application.yml
View file @
400b2e7e
...
...
@@ -2,7 +2,7 @@
spring
:
# 1. 环境激活配置
profiles
:
active
:
prod
# 默认激活测试环境,生产启动参数:--spring.profiles.active=prod
active
:
prod
# 默认激活测试环境,生产启动参数:--spring.profiles.active=prod
# 2. 文件上传公共配置(合并到spring节点下,避免重复定义)
servlet
:
multipart
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment