application.properties
1.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
server.port=${port:8088}
server.tomcat.max-threads=1000
spring.datasource.driverClassName = com.mysql.jdbc.Driver
spring.datasource.url = jdbc:mysql://127.0.0.1:3306/kzy_db?useUnicode=true&characterEncoding=utf-8
spring.datasource.username = kzy_user
spring.datasource.password = KKzy2020#kH
mybatis.type-aliases-package=com.server.web.model
#mybatis.mapper-locations=classpath:com/server/mapper/mybatis/*.xml
mybatis.mapper-locations=classpath:mybatis/mapper/*.xml,classpath:mybatis/mapping/*.xml
mybatis.config-location=classpath:mybatis/mybatis-config.xml
## Redis 配置
# Redis数据库索引(默认为0)
spring.redis.database=0
# Redis服务器地址
spring.redis.host=127.0.0.1
# Redis服务器连接端口
spring.redis.port=6379
# Redis服务器连接密码(默认为空)
spring.redis.password=WebRedis999
# 连接池最大连接数(使用负值表示没有限制)
spring.redis.pool.max-active=30
# 连接池最大阻塞等待时间(使用负值表示没有限制)
spring.redis.pool.max-wait=-1
# 连接池中的最大空闲连接
spring.redis.pool.max-idle=8
# 连接池中的最小空闲连接
spring.redis.pool.min-idle=0
# 连接超时时间(毫秒)
spring.redis.timeout=0
#如果本服务为api服务,可以进行如下配置
#是否开始debug模式,false加密并且验签。true调试模式,不加密,不验签
rest.api.debug=true
#编码
rest.api.charset=utf-8
#加密secret_key
rest.api.secretkey=FoK28EsYrxuiM3ohnAurFGm2uGAHyijL
wx.account=gh_ff7f879ae369
wx.app.id=wx2bdaa55e4749f52a
wx.app.secret=0ebb5e74318f510266101e73f091c218
wx.tocken=64be1d2d249a460bb5c39d565f013d90
wx.http.danmu.url=
wx.http.url=http://kzy-wx.jimijiayuan.cn
#有拍云
remoteFileUrl = http://upai.yxvzb.com/
upyun.bucket=yxvzb
upyun.username=liuruichao
upyun.password=liuruichao123
upyun.baseDir=/images/