记得上下班打卡 | git大法好,push需谨慎

Commit 4a52d27f authored by 姜秀龙's avatar 姜秀龙

config

parent c0003be3
...@@ -19,7 +19,7 @@ knife4j: ...@@ -19,7 +19,7 @@ knife4j:
password: ${liquidnet.security.password} password: ${liquidnet.security.password}
# ----------------------------------------------------------- # -----------------------------------------------------------
logging: logging:
# config: ${liquidnet.logfile.config} # config: ${liquidnet.logfile.config}
file: file:
name: ${liquidnet.logfile.path}/${liquidnet.logfile.name}.log name: ${liquidnet.logfile.path}/${liquidnet.logfile.name}.log
max-size: 200MB max-size: 200MB
...@@ -35,11 +35,11 @@ logging: ...@@ -35,11 +35,11 @@ logging:
com.liquidnet: ${liquidnet.logfile.level} com.liquidnet: ${liquidnet.logfile.level}
# ----------------------------------------------------------- # -----------------------------------------------------------
eureka: eureka:
# client: # client:
# register-with-eureka: true # register-with-eureka: true
# fetch-registry: true # fetch-registry: true
# serviceUrl: # serviceUrl:
# defaultZone: http://${liquidnet.security.username}:${liquidnet.security.password}@${liquidnet.eureka.host}/eureka-server/eureka # defaultZone: http://${liquidnet.security.username}:${liquidnet.security.password}@${liquidnet.eureka.host}/eureka-server/eureka
instance: instance:
hostname: ${spring.cloud.client.ip-address} hostname: ${spring.cloud.client.ip-address}
lease-expiration-duration-in-seconds: 15 #服务过期时间配置,超过这个时间没有接收到心跳EurekaServer就会将这个实例剔除 lease-expiration-duration-in-seconds: 15 #服务过期时间配置,超过这个时间没有接收到心跳EurekaServer就会将这个实例剔除
...@@ -73,7 +73,7 @@ spring: ...@@ -73,7 +73,7 @@ spring:
autoconfigure: autoconfigure:
exclude: exclude:
- org.springframework.cloud.bus.BusAutoConfiguration - org.springframework.cloud.bus.BusAutoConfiguration
# - org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration # - org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration
- org.springframework.boot.autoconfigure.amqp.RabbitAutoConfiguration - org.springframework.boot.autoconfigure.amqp.RabbitAutoConfiguration
redis: redis:
queue: queue:
...@@ -133,12 +133,12 @@ global-auth: ...@@ -133,12 +133,12 @@ global-auth:
- ${liquidnet.info.context}/enters/query/depth - ${liquidnet.info.context}/enters/query/depth
- ${liquidnet.info.context}/addr/query/depth - ${liquidnet.info.context}/addr/query/depth
- ${liquidnet.info.context}/plz/ad - ${liquidnet.info.context}/plz/ad
# - ${liquidnet.info.context}/wxa/code2session # - ${liquidnet.info.context}/wxa/code2session
# - ${liquidnet.info.context}/wx/oauth2/access_token # - ${liquidnet.info.context}/wx/oauth2/access_token
- ${liquidnet.info.context}/rsc/** - ${liquidnet.info.context}/rsc/**
- ${liquidnet.info.context}/user/info/rds - ${liquidnet.info.context}/user/info/rds
include-url-pattern: # 模式II(与模式I互斥) include-url-pattern: # 模式II(与模式I互斥)
# - ${liquidnet.info.context}/** # - ${liquidnet.info.context}/**
oncheck-url-pattern: oncheck-url-pattern:
# - ${liquidnet.info.context}/** # - ${liquidnet.info.context}/**
# ----------------------------------------------------------- # -----------------------------------------------------------
......
...@@ -15,4 +15,14 @@ liquidnet: ...@@ -15,4 +15,14 @@ liquidnet:
database-name: prod_ln_scene database-name: prod_ln_scene
mongodb: mongodb:
sslEnabled: false sslEnabled: false
database: prod_ln_scene database: prod_ln_scene
\ No newline at end of file lxpay:
apps:
dougong:
huifu-id: '6666000171841162'
sys-id: '6666000162031620'
product-id: 'PAYUN'
sub-app-id: 'wx4732efeaa2b08086'
public-key: "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArR8pqWsRMqiunn8uEZGF9AeizJK0vuWjlcNnTbw9Sb96dMVuYu3SRj+Dx4E4SgyEL4CYROou1xwY57kAKEqHdH7o1W41O9jYjXZG38BrtBR+D9Qh9OqGxCZ+e4Gi38XHGg6fn67iXefOqp1kWGd4qc8tIZO1lIDXS19R09D/mESNBMulQdVPyZF7gvd11A+7EEOfRlSOjrtqIoUWV0GIqhLPUtGJk8Uq/d9NLitJyvK3tgz8cvJ4RyK6UpGtRDrqiB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0/4fBfJI2Jsjexy51ERiG+8y4wVrcrky6NLw6mnXSvnTSQCftbexheJTg9c5dpfKIj+rxtuBeZ3Sj1MJQ6OSBUYu3iTqstO0Rgp/1ofWQJ8GUCgYEAspxzr0+KJ0cZwbI/54S8vT9n33iWjbQiRDnNlScjYij/HQ4YJI1wZF6jlTeBerbskeesWy+bLS/ltA4Jhz3knuKCXBHyA5TL3UBCN1lAS7c1RuE6LIHlLkAi6ap6aV//ou+3W671T0+JobfB/XVJ61WOTQ8wCfQKA5QhfVsOXYECgYEAvzbm3Ysfm6qfazi+p9lGErASov1fhGA8T1AMcJtnsh1sO8Qu20UodaJfRylNL3dqphIltpwl6eq4RTLhgjDEDTvHU6cQdfB1I5qVbDhlxSpL5uFRl91XLXvA18wKQledC3M3Esr7V/loscIOl1knCaD+t6wPVCEdqK0dB2uHT3kCgYEA3p3rlmCmWzkZ/U8jE4087YEkJWV+r86YC63r4YZEqZtfHk4hNchAYke4jYPqkTtmRVZi2C6KuVr5M3ASHmGWorBY0VA9Abd3daniNocZCeMOt4Z7U6MIbqW7KYSrjx8V8HIsdH7HF97ofRuMH6oaz9bFMM6XwrEAMY+zTdH9A4Y="
notify-url: 'https://goblin.zhengzai.tv/goblin/bracelet/callback'
\ No newline at end of file
...@@ -19,7 +19,7 @@ knife4j: ...@@ -19,7 +19,7 @@ knife4j:
password: ${liquidnet.security.password} password: ${liquidnet.security.password}
# ----------------------------------------------------------- # -----------------------------------------------------------
logging: logging:
# config: ${liquidnet.logfile.config} # config: ${liquidnet.logfile.config}
file: file:
name: ${liquidnet.logfile.path}/${liquidnet.logfile.name}.log name: ${liquidnet.logfile.path}/${liquidnet.logfile.name}.log
max-size: 200MB max-size: 200MB
...@@ -35,11 +35,11 @@ logging: ...@@ -35,11 +35,11 @@ logging:
com.liquidnet: ${liquidnet.logfile.level} com.liquidnet: ${liquidnet.logfile.level}
# ----------------------------------------------------------- # -----------------------------------------------------------
eureka: eureka:
# client: # client:
# register-with-eureka: true # register-with-eureka: true
# fetch-registry: true # fetch-registry: true
# serviceUrl: # serviceUrl:
# defaultZone: http://${liquidnet.security.username}:${liquidnet.security.password}@${liquidnet.eureka.host}/eureka-server/eureka # defaultZone: http://${liquidnet.security.username}:${liquidnet.security.password}@${liquidnet.eureka.host}/eureka-server/eureka
instance: instance:
hostname: ${spring.cloud.client.ip-address} hostname: ${spring.cloud.client.ip-address}
lease-expiration-duration-in-seconds: 15 #服务过期时间配置,超过这个时间没有接收到心跳EurekaServer就会将这个实例剔除 lease-expiration-duration-in-seconds: 15 #服务过期时间配置,超过这个时间没有接收到心跳EurekaServer就会将这个实例剔除
...@@ -73,7 +73,7 @@ spring: ...@@ -73,7 +73,7 @@ spring:
autoconfigure: autoconfigure:
exclude: exclude:
- org.springframework.cloud.bus.BusAutoConfiguration - org.springframework.cloud.bus.BusAutoConfiguration
- org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration # - org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration
redis: redis:
queue: queue:
database: ${liquidnet.redis.queue.database} database: ${liquidnet.redis.queue.database}
...@@ -99,10 +99,20 @@ spring: ...@@ -99,10 +99,20 @@ spring:
min-idle: 4 min-idle: 4
data: data:
mongodb: mongodb:
uri: mongodb://${liquidnet.mongodb.user}:${liquidnet.mongodb.pwd}@${liquidnet.mongodb.host}/?authSource=admin&maxPoolSize=200&waitQueueMultiple=100 uri: mongodb://${liquidnet.mongodb.user}:${liquidnet.mongodb.pwd}@${liquidnet.mongodb.host}/?authSource=admin&maxPoolSize=2000&waitQueueMultiple=100
sslEnabled: ${liquidnet.mongodb.sslEnabled} sslEnabled: ${liquidnet.mongodb.sslEnabled}
database: ${liquidnet.mongodb.database} database: ${liquidnet.mongodb.database}
datasource:
name: ${liquidnet.mysql.database-name}
url: jdbc:mysql://${liquidnet.mysql.urlHostAndPort}/${liquidnet.mysql.database-name}?serverTimezone=UTC&characterEncoding=utf-8&useSSL=false
username: ${liquidnet.mysql.username}
password: ${liquidnet.mysql.password}
# type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
hikari:
maximum-pool-size: 45
minimum-idle: 8
connection-test-query: SELECT 1
# ----------------------------------------------------------- # -----------------------------------------------------------
# ----------------------------------------------------------- # -----------------------------------------------------------
...@@ -134,8 +144,9 @@ global-auth: ...@@ -134,8 +144,9 @@ global-auth:
- ${liquidnet.info.context}/app/mix/list - ${liquidnet.info.context}/app/mix/list
- ${liquidnet.info.context}/app/mix/details - ${liquidnet.info.context}/app/mix/details
- ${liquidnet.info.context}/wdt/** - ${liquidnet.info.context}/wdt/**
- ${liquidnet.info.context}/bracelet/callback
oncheck-url-pattern: oncheck-url-pattern:
- -
# ----------------------------------------------------------- # -----------------------------------------------------------
# ----------------------------------------------------------- # -----------------------------------------------------------
\ No newline at end of file
...@@ -21,4 +21,6 @@ liquidnet: ...@@ -21,4 +21,6 @@ liquidnet:
check: ${liquidnet.service.kylin.url-pay.check} check: ${liquidnet.service.kylin.url-pay.check}
localUrl: ${liquidnet.service.kylin.url-pay.localUrl} localUrl: ${liquidnet.service.kylin.url-pay.localUrl}
adam: adam:
url: ${liquidnet.service.adam.url} url: ${liquidnet.service.adam.url}
\ No newline at end of file feishu:
bWebhook: "https://open.feishu.cn/open-apis/bot/v2/hook/5d3a1c91-5a64-4d47-890f-2268011efcfb"
\ No newline at end of file
...@@ -19,7 +19,7 @@ knife4j: ...@@ -19,7 +19,7 @@ knife4j:
password: ${liquidnet.security.password} password: ${liquidnet.security.password}
# ----------------------------------------------------------- # -----------------------------------------------------------
logging: logging:
# config: ${liquidnet.logfile.config} # config: ${liquidnet.logfile.config}
file: file:
name: ${liquidnet.logfile.path}/${liquidnet.logfile.name}.log name: ${liquidnet.logfile.path}/${liquidnet.logfile.name}.log
max-size: 200MB max-size: 200MB
...@@ -35,11 +35,11 @@ logging: ...@@ -35,11 +35,11 @@ logging:
com.liquidnet: ${liquidnet.logfile.level} com.liquidnet: ${liquidnet.logfile.level}
# ----------------------------------------------------------- # -----------------------------------------------------------
eureka: eureka:
# client: # client:
# register-with-eureka: true # register-with-eureka: true
# fetch-registry: true # fetch-registry: true
# serviceUrl: # serviceUrl:
# defaultZone: http://${liquidnet.security.username}:${liquidnet.security.password}@${liquidnet.eureka.host}/eureka-server/eureka # defaultZone: http://${liquidnet.security.username}:${liquidnet.security.password}@${liquidnet.eureka.host}/eureka-server/eureka
instance: instance:
hostname: ${spring.cloud.client.ip-address} hostname: ${spring.cloud.client.ip-address}
lease-expiration-duration-in-seconds: 15 #服务过期时间配置,超过这个时间没有接收到心跳EurekaServer就会将这个实例剔除 lease-expiration-duration-in-seconds: 15 #服务过期时间配置,超过这个时间没有接收到心跳EurekaServer就会将这个实例剔除
...@@ -73,7 +73,7 @@ spring: ...@@ -73,7 +73,7 @@ spring:
autoconfigure: autoconfigure:
exclude: exclude:
- org.springframework.cloud.bus.BusAutoConfiguration - org.springframework.cloud.bus.BusAutoConfiguration
# - org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration # - org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration
redis: redis:
queue: queue:
database: ${liquidnet.redis.queue.database} database: ${liquidnet.redis.queue.database}
...@@ -97,11 +97,6 @@ spring: ...@@ -97,11 +97,6 @@ spring:
max-wait: -1 max-wait: -1
max-idle: 8 max-idle: 8
min-idle: 4 min-idle: 4
data:
mongodb:
uri: mongodb://${liquidnet.mongodb.user}:${liquidnet.mongodb.pwd}@${liquidnet.mongodb.host}/?authSource=admin&maxPoolSize=200&waitQueueMultiple=100
sslEnabled: ${liquidnet.mongodb.sslEnabled}
database: ${liquidnet.mongodb.database}
datasource: datasource:
name: ${liquidnet.mysql.database-name} name: ${liquidnet.mysql.database-name}
url: jdbc:mysql://${liquidnet.mysql.urlHostAndPort}/${liquidnet.mysql.database-name}?serverTimezone=Asia/Shanghai&characterEncoding=utf-8&useSSL=false url: jdbc:mysql://${liquidnet.mysql.urlHostAndPort}/${liquidnet.mysql.database-name}?serverTimezone=Asia/Shanghai&characterEncoding=utf-8&useSSL=false
...@@ -113,6 +108,12 @@ spring: ...@@ -113,6 +108,12 @@ spring:
maximum-pool-size: 45 maximum-pool-size: 45
minimum-idle: 8 minimum-idle: 8
connection-test-query: SELECT 1 connection-test-query: SELECT 1
data:
mongodb:
uri: mongodb://${liquidnet.mongodb.user}:${liquidnet.mongodb.pwd}@${liquidnet.mongodb.host}/?authSource=admin&maxPoolSize=2000&waitQueueMultiple=100
sslEnabled: ${liquidnet.mongodb.sslEnabled}
database: ${liquidnet.mongodb.database}
# ----------------------------------------------------------- # -----------------------------------------------------------
# ----------------------------------------------------------- # -----------------------------------------------------------
...@@ -133,9 +134,9 @@ global-auth: ...@@ -133,9 +134,9 @@ global-auth:
- ${liquidnet.info.context}/partner/performance/** - ${liquidnet.info.context}/partner/performance/**
# banner # banner
- ${liquidnet.info.context}/banners/** - ${liquidnet.info.context}/banners/**
- ${liquidnet.info.context}/pda/**
- ${liquidnet.info.context}/order/checkOrderTime - ${liquidnet.info.context}/order/checkOrderTime
- ${liquidnet.info.context}/order/syncOrder - ${liquidnet.info.context}/order/syncOrder
- ${liquidnet.info.context}/pda/**
# 退款回掉 # 退款回掉
- ${liquidnet.info.context}/refund/callback - ${liquidnet.info.context}/refund/callback
# 演出 # 演出
...@@ -161,11 +162,11 @@ global-auth: ...@@ -161,11 +162,11 @@ global-auth:
oncheck-url-pattern: oncheck-url-pattern:
- ${liquidnet.info.context}/order/details - ${liquidnet.info.context}/order/details
- ${liquidnet.info.context}/order/transfer* - ${liquidnet.info.context}/order/transfer*
# - ${liquidnet.info.context}/order/transfer # - ${liquidnet.info.context}/order/transfer
# - ${liquidnet.info.context}/order/transferWithDraw # - ${liquidnet.info.context}/order/transferWithDraw
# - ${liquidnet.info.context}/order/transferAccept # - ${liquidnet.info.context}/order/transferAccept
# - ${liquidnet.info.context}/order/transferReject # - ${liquidnet.info.context}/order/transferReject
# - ${liquidnet.info.context}/order/transferBack # - ${liquidnet.info.context}/order/transferBack
- ${liquidnet.info.context}/order*/sendOrderRefunds - ${liquidnet.info.context}/order*/sendOrderRefunds
- ${liquidnet.info.context}/order*/orderRefundWithdraw - ${liquidnet.info.context}/order*/orderRefundWithdraw
# - ${liquidnet.info.context}/order/sendOrderRefunds # - ${liquidnet.info.context}/order/sendOrderRefunds
......
...@@ -19,7 +19,7 @@ knife4j: ...@@ -19,7 +19,7 @@ knife4j:
password: ${liquidnet.security.password} password: ${liquidnet.security.password}
# ----------------------------------------------------------- # -----------------------------------------------------------
logging: logging:
# config: ${liquidnet.logfile.config} # config: ${liquidnet.logfile.config}
file: file:
name: ${liquidnet.logfile.path}/${liquidnet.logfile.name}.log name: ${liquidnet.logfile.path}/${liquidnet.logfile.name}.log
max-size: 200MB max-size: 200MB
...@@ -35,11 +35,11 @@ logging: ...@@ -35,11 +35,11 @@ logging:
com.liquidnet: ${liquidnet.logfile.level} com.liquidnet: ${liquidnet.logfile.level}
# ----------------------------------------------------------- # -----------------------------------------------------------
eureka: eureka:
# client: # client:
# register-with-eureka: true # register-with-eureka: true
# fetch-registry: true # fetch-registry: true
# serviceUrl: # serviceUrl:
# defaultZone: http://${liquidnet.security.username}:${liquidnet.security.password}@${liquidnet.eureka.host}/eureka-server/eureka # defaultZone: http://${liquidnet.security.username}:${liquidnet.security.password}@${liquidnet.eureka.host}/eureka-server/eureka
instance: instance:
hostname: ${spring.cloud.client.ip-address} hostname: ${spring.cloud.client.ip-address}
lease-expiration-duration-in-seconds: 15 #服务过期时间配置,超过这个时间没有接收到心跳EurekaServer就会将这个实例剔除 lease-expiration-duration-in-seconds: 15 #服务过期时间配置,超过这个时间没有接收到心跳EurekaServer就会将这个实例剔除
...@@ -95,7 +95,7 @@ spring: ...@@ -95,7 +95,7 @@ spring:
min-idle: 4 min-idle: 4
data: data:
mongodb: mongodb:
uri: mongodb://${liquidnet.mongodb.user}:${liquidnet.mongodb.pwd}@${liquidnet.mongodb.host}/?authSource=admin&maxPoolSize=200&waitQueueMultiple=100 uri: mongodb://${liquidnet.mongodb.user}:${liquidnet.mongodb.pwd}@${liquidnet.mongodb.host}/?authSource=admin&maxPoolSize=2000&waitQueueMultiple=100
sslEnabled: ${liquidnet.mongodb.sslEnabled} sslEnabled: ${liquidnet.mongodb.sslEnabled}
database: ${liquidnet.mongodb.database} database: ${liquidnet.mongodb.database}
datasource: datasource:
...@@ -103,7 +103,7 @@ spring: ...@@ -103,7 +103,7 @@ spring:
url: jdbc:mysql://${liquidnet.mysql.urlHostAndPort}/${liquidnet.mysql.database-name}?serverTimezone=Asia/Shanghai&characterEncoding=utf-8&useSSL=false url: jdbc:mysql://${liquidnet.mysql.urlHostAndPort}/${liquidnet.mysql.database-name}?serverTimezone=Asia/Shanghai&characterEncoding=utf-8&useSSL=false
username: ${liquidnet.mysql.username} username: ${liquidnet.mysql.username}
password: ${liquidnet.mysql.password} password: ${liquidnet.mysql.password}
# type: org.apache.tomcat.jdbc.pool.DataSource # type: org.apache.tomcat.jdbc.pool.DataSource
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
hikari: hikari:
maximum-pool-size: 45 maximum-pool-size: 45
...@@ -115,7 +115,7 @@ spring: ...@@ -115,7 +115,7 @@ spring:
# ----------------------------------------------------------- # -----------------------------------------------------------
global-auth: global-auth:
exclude-url-pattern: # 模式I(与模式II互斥) exclude-url-pattern: # 模式I(与模式II互斥)
# - ${liquidnet.info.context}/** # - ${liquidnet.info.context}/**
include-url-pattern: # 模式II(与模式I互斥) include-url-pattern: # 模式II(与模式I互斥)
# 积分抽奖 # 积分抽奖
- ${liquidnet.info.context}/integralActivityDraw/create - ${liquidnet.info.context}/integralActivityDraw/create
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment