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.
109 lines
2.4 KiB
109 lines
2.4 KiB
spring:
|
|
datasource:
|
|
driver-class-name: com.mysql.jdbc.Driver
|
|
# url: jdbc:mysql://10.10.14.210:22066/ycharge?useUnicode=true&characterEncoding=UTF-8
|
|
url: jdbc:mysql://10.10.14.210:22066/ycharge?useUnicode=true&characterEncoding=UTF-8
|
|
username: icharge
|
|
password: icharge
|
|
druid:
|
|
stat-view-servlet:
|
|
allow: true
|
|
type: com.alibaba.druid.pool.DruidDataSource
|
|
filters: stat
|
|
maxActive: 20
|
|
|
|
|
|
# Keep the connection alive if idle for a long time (needed in production)
|
|
testWhileIdle: true
|
|
validationQuery: SELECT 1
|
|
|
|
data:
|
|
mongodb:
|
|
host: 10.10.14.210
|
|
port: 27017
|
|
database: ycharge
|
|
username: ycharge
|
|
password: ycharge
|
|
|
|
redis:
|
|
database: 0
|
|
host: 10.10.14.210
|
|
port: 6379
|
|
password: ylt#redis
|
|
timeout: 0
|
|
pool:
|
|
max-active: 8
|
|
max-idle: 8
|
|
min-idle: 0
|
|
|
|
# Show or not log for each sql query
|
|
jpa:
|
|
show-sql: true
|
|
|
|
# Hibernate ddl auto (create, create-drop, update)
|
|
hibernate:
|
|
ddl-auto: update
|
|
|
|
# Naming strategy
|
|
naming-strategy: org.hibernate.cfg.ImprovedNamingStrategy
|
|
|
|
# Use spring.jpa.properties.* for Hibernate native properties (the prefix is
|
|
# stripped before adding them to the entity manager)
|
|
|
|
# The SQL dialect makes Hibernate generate better SQL for the chosen database
|
|
properties:
|
|
hibernate:
|
|
dialect: org.hibernate.dialect.MySQL5Dialect
|
|
|
|
jwt:
|
|
secret: ZXZnZWVr5b+r5LmQ5L2g55qE5Ye66KGM
|
|
|
|
properties:
|
|
config: debug
|
|
|
|
ribbon:
|
|
eureka:
|
|
enabled: false
|
|
|
|
ReadTimeout: 60000
|
|
ConnectTimeout: 60000
|
|
MaxAutoRetries: 0
|
|
MaxAutoRetriesNextServer: 1
|
|
|
|
userapi:
|
|
ribbon:
|
|
listOfServers: http://i100c.3322.org:32150
|
|
|
|
marketapi:
|
|
ribbon:
|
|
listOfServers: localhost:33081
|
|
|
|
orderbkapi:
|
|
ribbon:
|
|
listOfServers: http://i100c.3322.org:32202
|
|
|
|
openapi:
|
|
ribbon:
|
|
listOfServers: http://i100c.3322.org:31301
|
|
|
|
ylt: true
|
|
|
|
rz: false
|
|
|
|
|
|
wx:
|
|
config:
|
|
appId: wx9863e002c6a5f8bd
|
|
appScrect: ee9f5f214f2054f504544476ae542231
|
|
mchId: 1515885161
|
|
appKey: yibinyixingqicherongzhouyichong2
|
|
notifyUrl: http://api.ikbvip.com/financeapi/wxSmallApp/wxSmallAppPayNotice
|
|
testNotifyUrl: http://i100c.3322.org:30701/financeapi/wxSmallApp/wxSmallAppPayNotice
|
|
smallAppRefunCerficationPath: /config/small/appcert/apiclient_cert.p12
|
|
source: rzyc
|
|
|
|
|
|
|
|
|
|
|