yoqw/openapi/src/main/resources/application.properties
2020-07-01 19:22:03 +08:00

36 lines
1.0 KiB
Properties

server.port=8081
spring.application.name=yo-openapi
spring.jackson.time-zone=GMT+8
spring.jackson.serialization.write-dates-as-timestamps=true
spring.jackson.serialization.fail-on-empty-beans=false
tigon.web.jsonview.success-key=success
tigon.web.jsonview.data-key=
tigon.web.jsonview.code-key=rtncode
tigon.web.jsonview.code-type=string
tigon.web.jsonview.message-key=message
# Datasource
yo.datasource.url=jdbc:mysql://172.18.4.35/yoqw?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai
yo.datasource.username=yoqw
yo.datasource.password=yoqw_query!
# Redis
spring.redis.host=172.16.92.232
spring.redis.port=6379
spring.redis.password=123456
# Shiro
tigon.shiro.filter-chain=/v1/auth/sign-in=anon \
/=anon \
/index.html=anon \
/assets/**=anon \
/**=anon
# Dubbo
## Dubbo Registry
dubbo.registry.address=zookeeper://172.16.67.223:2181
dubbo.registry.file=${user.home}/dubbo-cache/${spring.application.name}/dubbo.cache
yo.fsagent.dubbo.service.version=1.0.0