# 这里的配置不用改，如果要改在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}

registry.name=eureka

# 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}

# 固定不用改
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
