You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
1.4 KiB
YAML
61 lines
1.4 KiB
YAML
5 years ago
|
#服务器端口配置
|
||
|
server:
|
||
|
port: 8082
|
||
|
tomcat:
|
||
|
basedir: /home/temp
|
||
|
|
||
|
spring:
|
||
|
datasource:
|
||
|
url: jdbc:mysql://49.235.142.162:3306/training?useUnicode=true&characterEncoding=UTF-8
|
||
|
username: root
|
||
|
password: qinziyepao666!
|
||
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||
|
type: com.alibaba.druid.pool.DruidDataSource
|
||
|
druid:
|
||
|
initial-size: 1
|
||
|
max-active: 20
|
||
|
min-idle: 1
|
||
|
test-on-borrow: true
|
||
|
stat-view-servlet:
|
||
|
allow: true
|
||
|
|
||
|
#mybatis配置
|
||
|
mybatis:
|
||
|
type-aliases-package: com.oceanspot.template.util.model
|
||
|
mapper-locations: classpath:mapper/*.xml
|
||
|
configuration:
|
||
|
map-underscore-to-camel-case: true
|
||
|
mapper:
|
||
|
mappers: com.jingcheng.template.util.CommonMapper
|
||
|
not-empty: false
|
||
|
identity: MYSQL
|
||
|
# pageHelper分页配置
|
||
|
pagehelper:
|
||
|
helper-dialect: mysql
|
||
|
reasonable: false
|
||
|
support-methods-arguments: true
|
||
|
params: count=countSql
|
||
|
### 上传文件路径
|
||
|
upload:
|
||
|
excel:
|
||
|
path: /usr/local/share/applications/training/file/
|
||
|
|
||
|
### oss配置
|
||
|
oss:
|
||
|
bucket: dj-databackup
|
||
|
endpoint: oss-cn-zhangjiakou.aliyuncs.com
|
||
|
accessId: LTAIhZASeqbsyQXm
|
||
|
accessKey: 8xROCAL9xwJdyItKGW2saI7yCg1G25
|
||
|
maxFileSize: 10240KB
|
||
|
maxRequestSize: 102400KB
|
||
|
filedir: cktest/
|
||
|
|
||
|
|
||
|
pdf:
|
||
|
pdfUrl: /var/html/training/pdf/
|
||
|
templateUrl: /var/html/training/template/
|
||
|
|
||
|
|
||
|
weixin:
|
||
|
appId: wxff6b9cc14e112d63
|
||
|
appSecret: 6b5c0bf7112d69861d56ba2fd752d7ed
|