Commit 400b2e7e by linq

支持上传excel

parent 070d06a0
......@@ -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:
......
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment