修改配置文件
This commit is contained in:
parent
a584596699
commit
e08d3a4d7f
@ -1,9 +1,22 @@
|
||||
server:
|
||||
port: 8080
|
||||
url: http://127.0.0.1:8080/businesscard
|
||||
system-title: 名片管理系统
|
||||
system-sub-title: 名片系统
|
||||
servlet:
|
||||
context-path: /businesscard
|
||||
|
||||
spring:
|
||||
login-url: /oauth/login
|
||||
login-failure: /oauth/login?error
|
||||
login-process: /userlogin
|
||||
assets-matchers: /assets/**
|
||||
thymeleaf:
|
||||
prefix: classpath:/templates/
|
||||
suffix: .html
|
||||
mode: HTML5
|
||||
encoding: UTF-8
|
||||
cache: false
|
||||
main:
|
||||
allow-bean-definition-overriding: true
|
||||
servlet:
|
||||
@ -53,3 +66,37 @@ logging:
|
||||
level:
|
||||
root: error
|
||||
com.cm: debug
|
||||
|
||||
swagger:
|
||||
base-package-list: ink.wgink,cn.com.tenlion
|
||||
|
||||
# 文件上传管理
|
||||
file:
|
||||
# 文件的保存路径
|
||||
upload-path: /Users/wanggeng/Desktop/UploadFiles/
|
||||
# 图片类型
|
||||
image-types: png,jpg,jpeg,gif,blob
|
||||
# 视频类型
|
||||
video-types: mp4,rmvb
|
||||
# 音频类型
|
||||
audio-types: mp3,wmv
|
||||
# 文件类型
|
||||
file-types: doc,docx,xls,xlsx,ppt,pptx,txt,zip,rar,apk,pdf
|
||||
# 同时上传最大支持数
|
||||
max-file-count: 6
|
||||
# 图片输出压缩质量,大于0,默认0.4
|
||||
image-output-quality: 0.4
|
||||
# 媒体最大时长(单位:秒)
|
||||
media-max-duration:
|
||||
# 后台
|
||||
backend:
|
||||
video: 10
|
||||
audio: 60
|
||||
# 微信
|
||||
wechat:
|
||||
video: 10
|
||||
audio: 60
|
||||
# app
|
||||
app:
|
||||
video: 10
|
||||
audio: 60
|
Loading…
Reference in New Issue
Block a user