You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.5 KiB
43 lines
1.5 KiB
# 这里的配置不用改,如果要改在application-xx.properties中改
|
|
# 在application-xx.properties中配置会覆盖这里的值
|
|
# 参考:com.gitee.sop.adminserver.config.SopAdminEnvironmentPostProcessor
|
|
|
|
spring.application.name=sop-admin
|
|
|
|
# session过期时间,分钟
|
|
admin.access-token.timeout-minutes=30
|
|
# 签名方式,rsa:支付宝开放平台签名方式,md5:淘宝开放平台签名方式
|
|
sop.sign-type=rsa
|
|
|
|
# nacos配置
|
|
nacos.config.server-addr=${register.url}
|
|
nacos.discovery.server-addr=${register.url}
|
|
|
|
# nacos cloud配置
|
|
spring.cloud.nacos.discovery.server-addr=${register.url}
|
|
|
|
# eureka地址
|
|
eureka.client.serviceUrl.defaultZone=${register.url}
|
|
|
|
# 数据库配置
|
|
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
|
spring.datasource.url=jdbc:mysql://${mysql.host}/sop?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&serverTimezone=Asia/Shanghai
|
|
spring.datasource.username=${mysql.username}
|
|
spring.datasource.password=${mysql.password}
|
|
|
|
#连接池
|
|
spring.datasource.hikari.pool-name=HikariCP
|
|
spring.datasource.hikari.max-lifetime=500000
|
|
|
|
# 固定不用改
|
|
mybatis.config-location=classpath:mybatis/mybatisConfig.xml
|
|
mybatis.mapper-locations=classpath:mybatis/mapper/*.xml
|
|
easyopen.show-doc=false
|
|
easyopen.ignore-validate=true
|
|
|
|
# 不用改
|
|
mybatis.fill.com.gitee.fastmybatis.core.support.DateFillInsert=gmt_create
|
|
mybatis.fill.com.gitee.fastmybatis.core.support.DateFillUpdate=gmt_modified
|
|
|
|
# 不用改,如果要改,请全局替换修改
|
|
sop.secret=MZZOUSTua6LzApIWXCwEgbBmxSzpzC
|
|
|