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.
117 lines
2.7 KiB
117 lines
2.7 KiB
server:
|
|
port: @server.port@
|
|
servlet:
|
|
context-path: /third
|
|
|
|
spring:
|
|
main:
|
|
allow-bean-definition-overriding: true
|
|
application:
|
|
name: epmet-third-server
|
|
# dev|test|prod
|
|
profiles:
|
|
active: dev
|
|
jackson:
|
|
time-zone: GMT+8
|
|
date-format: yyyy-MM-dd HH:mm:ss
|
|
redis:
|
|
database: @spring.redis.index@
|
|
host: @spring.redis.host@
|
|
port: @spring.redis.port@
|
|
password: @spring.redis.password@
|
|
timeout: 30s
|
|
datasource:
|
|
druid:
|
|
#MySQL
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
url: @spring.datasource.druid.url@
|
|
username: @spring.datasource.druid.username@
|
|
password: @spring.datasource.druid.password@
|
|
cloud:
|
|
nacos:
|
|
discovery:
|
|
server-addr: @nacos.server-addr@
|
|
namespace: @nacos.discovery.namespace@
|
|
register-enabled: @nacos.register-enabled@
|
|
ip: @nacos.ip@
|
|
config:
|
|
enabled: @nacos.config-enabled@
|
|
server-addr: @nacos.server-addr@
|
|
namespace: @nacos.config.namespace@
|
|
group: @nacos.config.group@
|
|
file-extension: yaml
|
|
flyway:
|
|
enabled: @spring.flyway.enabled@
|
|
locations: classpath:db/migration
|
|
url: @spring.datasource.druid.url@
|
|
user: @spring.datasource.druid.username@
|
|
password: @spring.datasource.druid.password@
|
|
baseline-on-migrate: true
|
|
baseline-version: 0
|
|
management:
|
|
endpoints:
|
|
web:
|
|
exposure:
|
|
include: "*"
|
|
endpoint:
|
|
health:
|
|
show-details: ALWAYS
|
|
|
|
mybatis-plus:
|
|
mapper-locations: classpath:/mapper/**/*.xml
|
|
typeAliasesPackage: com.epmet.entity
|
|
global-config:
|
|
db-config:
|
|
id-type: ID_WORKER
|
|
field-strategy: NOT_NULL
|
|
column-underline: true
|
|
banner: false
|
|
|
|
configuration:
|
|
map-underscore-to-camel-case: true
|
|
cache-enabled: false
|
|
call-setters-on-nulls: true
|
|
jdbc-type-for-null: 'null'
|
|
|
|
feign:
|
|
hystrix:
|
|
enabled: true
|
|
client:
|
|
config:
|
|
default:
|
|
loggerLevel: BASIC
|
|
httpclient:
|
|
enabled: true
|
|
|
|
hystrix:
|
|
command:
|
|
default:
|
|
execution:
|
|
isolation:
|
|
thread:
|
|
timeoutInMilliseconds: 60000
|
|
|
|
ribbon:
|
|
ReadTimeout: 300000
|
|
ConnectTimeout: 300000
|
|
|
|
pagehelper:
|
|
helper-dialect: mysql
|
|
reasonable: false
|
|
third:
|
|
platform:
|
|
appId: wxd63ff476314c7c3e
|
|
appSecret: 4733aa5ba6dfe0efc569ebac7c4fe56b
|
|
aesKey: d6dbde92c67e11eabac1c03fd56f7847qazxswedcvg
|
|
token: 1ae5f230c67f11eabac1c03fd56f7847
|
|
domain:
|
|
requestDomain:
|
|
- https://epmet-cloud.elinkservice.cn
|
|
wsRequestDomain:
|
|
- https://epmet-cloud.elinkservice.cn
|
|
uploadDomain:
|
|
- https://epmet-cloud.elinkservice.cn
|
|
downloadDomain:
|
|
- https://epmet-cloud.elinkservice.cn
|
|
webviewDomain:
|
|
- https://epmet-cloud.elinkservice.cn
|