126 lines
4.3 KiB
Properties
126 lines
4.3 KiB
Properties
|
|
#extend config
|
||
|
|
spring.application.name=oms2c
|
||
|
|
server.port=12089
|
||
|
|
|
||
|
|
# openfeign 配置
|
||
|
|
service.provider.name=apisvr
|
||
|
|
service.provider.url=http://127.0.0.1:11090/api/apisvr
|
||
|
|
feign.hystrix.enabled=true
|
||
|
|
spring.cloud.openfeign.okhttp.enabled=true
|
||
|
|
logging.level.com.github.cloudgyb.springcloud.testservice=debug
|
||
|
|
|
||
|
|
# 允许类互相引用
|
||
|
|
spring.main.allow-circular-references=true
|
||
|
|
|
||
|
|
|
||
|
|
# 配置中心url
|
||
|
|
server.servlet.context-path=/api/omssvr
|
||
|
|
#server.servlet.context-path=/
|
||
|
|
server.tomcat.uri-encoding=UTF-8
|
||
|
|
server.tomcat.accept-count=1000
|
||
|
|
server.tomcat.threads.max=800
|
||
|
|
server.tomcat.threads.min-spare=100
|
||
|
|
|
||
|
|
#DataSource
|
||
|
|
spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
|
||
|
|
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
||
|
|
spring.datasource.url=jdbc:mysql://192.168.88.23:31306/tnuat?useUnicode=true&allowMultiQueries=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||
|
|
spring.datasource.username=tnuat
|
||
|
|
spring.datasource.password=Tnuat123#@!
|
||
|
|
|
||
|
|
#spring.datasource.url=jdbc:mysql://192.168.88.58:3307/tnemis?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||
|
|
#spring.datasource.username=xdadan
|
||
|
|
#spring.datasource.password=xdadan123#@!
|
||
|
|
##spring.datasource.password=XDDENC#ukKw8FenW3YMeSQPlar5Y+PGpb+VgonP
|
||
|
|
|
||
|
|
|
||
|
|
spring.datasource.druid.initialSize=5
|
||
|
|
spring.datasource.druid.minIdle=10
|
||
|
|
spring.datasource.druid.maxActive=20
|
||
|
|
spring.datasource.druid.maxWait=60000
|
||
|
|
spring.datasource.druid.timeBetweenEvictionRunsMillis=60000
|
||
|
|
spring.datasource.druid.minEvictableIdleTimeMillis=300000
|
||
|
|
spring.datasource.druid.maxEvictableIdleTimeMillis=900000
|
||
|
|
spring.datasource.druid.validationQuery=SELECT 1 FROM DUAL
|
||
|
|
spring.datasource.druid.testWhileIdle=true
|
||
|
|
spring.datasource.druid.testOnBorrow=false
|
||
|
|
spring.datasource.druid.testOnReturn=false
|
||
|
|
spring.datasource.druid.webStatFilter.enabled=true
|
||
|
|
spring.datasource.druid.statViewServlet.enabled=true
|
||
|
|
spring.datasource.druid.statViewServlet.allow.url-pattern=/druid/*
|
||
|
|
spring.datasource.druid.statViewServlet.allow.login-username=xdadan
|
||
|
|
spring.datasource.druid.statViewServlet.allow.login-password=123456
|
||
|
|
spring.datasource.druid.filter.stat.enabled=true
|
||
|
|
spring.datasource.druid.filter.stat.log-slow-sql=true
|
||
|
|
spring.datasource.druid.filter.stat.slow-sql-millis=1000
|
||
|
|
spring.datasource.druid.filter.stat.merge-sql=true
|
||
|
|
spring.datasource.druid.filter.wall.config.multi-statement-allow=true
|
||
|
|
|
||
|
|
|
||
|
|
spring.datasource.max-wait=30000
|
||
|
|
spring.datasource.max-active=200
|
||
|
|
spring.datasource.initial-size=20
|
||
|
|
spring.datasource.max-idle=20
|
||
|
|
spring.datasource.min-idle=10
|
||
|
|
spring.datasource.test-on-borrow=true
|
||
|
|
spring.datasource.test-while-idle=true
|
||
|
|
spring.datasource.validationQuery=select 1 from dual
|
||
|
|
spring.datasource.connection-test-query=select 1 from dual
|
||
|
|
|
||
|
|
#redis
|
||
|
|
spring.redis.database=5
|
||
|
|
spring.redis.host=192.168.88.58
|
||
|
|
#spring.redis.cluster.nodes=192.168.88.58
|
||
|
|
spring.redis.port=16379
|
||
|
|
spring.redis.password=TNL9910Aksd&5$(((*sd88sdsds99asdsa8
|
||
|
|
spring.redis.pool.max-active=8
|
||
|
|
spring.redis.pool.max-wait=-1
|
||
|
|
spring.redis.pool.max-idle=8
|
||
|
|
spring.redis.pool.min-idle=0
|
||
|
|
spring.redis.timeout=10s
|
||
|
|
spring.redis.lettuce.pool.min-idle=0
|
||
|
|
spring.redis.lettuce.pool.max-idle=8
|
||
|
|
spring.redis.lettuce.pool.max-active=8
|
||
|
|
spring.redis.lettuce.pool.max-wait=-1ms
|
||
|
|
|
||
|
|
redisson.address=redis://192.168.88.58:16379
|
||
|
|
redisson.password=TNL9910Aksd&5$(((*sd88sdsds99asdsa8
|
||
|
|
redisson.timeout=3000
|
||
|
|
redisson.database=5
|
||
|
|
redisson.connectionPoolSize=10
|
||
|
|
redisson.connectionMinimumIdleSize=10
|
||
|
|
|
||
|
|
#rabbitmq
|
||
|
|
spring.rabbitmq.host=192.168.88.57
|
||
|
|
spring.rabbitmq.port=5672
|
||
|
|
spring.rabbitmq.username=ccloud
|
||
|
|
spring.rabbitmq.password=123#@!
|
||
|
|
spring.rabbitmq.virtual-host=/pushcus
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
#DXP001_SEND
|
||
|
|
|
||
|
|
#MVC
|
||
|
|
spring.mvc.static-path-pattern=/**
|
||
|
|
#spring.resources.static-locations = classpath:/templates/,classpath:/resources/,classpath:/static/,classpath:/html/
|
||
|
|
spring.resources.static-locations=classpath:/static/,classpath:/html/
|
||
|
|
spring.mvc.view.prefix=/WEB-INF/views/
|
||
|
|
spring.mvc.view.suffix=.jsp
|
||
|
|
|
||
|
|
spring.http.multipart.maxFileSize=10000Mb
|
||
|
|
spring.http.multipart.maxRequestSize=10000Mb
|
||
|
|
|
||
|
|
pay.temp.dir=tmp
|
||
|
|
pay.profile=.
|
||
|
|
|
||
|
|
xdd.enc.key=
|
||
|
|
#X20230103080
|
||
|
|
|
||
|
|
pay.api-online-url=http://api.pay.xdadan.com/api/gateway/router/online
|
||
|
|
pay.app-id=26150000179
|
||
|
|
pay.app-secret=91be0b54ba41f71f8e0506a7da95a8ff
|
||
|
|
|
||
|
|
erp.api.base-url==http://api.erp2.xdadan.com/api/microsvr
|
||
|
|
erp.api.pay.notify-url=http://api.erp2.xdadan.com/api/microsvr/common/payNotifyCallback
|