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.

65 lines
1.7 KiB
YAML

#服务器端口配置
server:
port: 8084
tomcat:
basedir: /home/temp
spring:
datasource:
url: jdbc:mysql://49.235.142.162:3306/sadia_game?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.jingcheng.template.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: 61dc4dbc941fdb1cf30e5165e2f53c7c
getOpenIdUrl: https://api.weixin.qq.com/sns/oauth2/access_token?appid=
getSubscribeUrl: https://api.weixin.qq.com/cgi-bin/user/info?access_token=
getAccessTokenUrl: https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=
getUserInfoUrl: https://api.weixin.qq.com/sns/userinfo?access_token=