main
黄海 1 year ago
parent c91b241a7b
commit 3697669fff

@ -1,8 +1,10 @@
spring: spring:
data: data:
mongodb: mongodb:
# mongodb数据库
uri: mongodb://ycharge:ycharge@i100c.3322.org:13002/ycharge uri: mongodb://ycharge:ycharge@i100c.3322.org:13002/ycharge
datasource: datasource:
# mysql数据库
url: jdbc:mysql://139.224.72.142:3307/yltcharge?useUnicode=true&characterEncoding=UTF-8 url: jdbc:mysql://139.224.72.142:3307/yltcharge?useUnicode=true&characterEncoding=UTF-8
username: ycharge username: ycharge
password: ycharge password: ycharge
@ -13,7 +15,7 @@ spring:
type: com.alibaba.druid.pool.DruidDataSource type: com.alibaba.druid.pool.DruidDataSource
filters: stat filters: stat
maxActive: 20 maxActive: 20
# Redis
redis: redis:
database: 0 database: 0
host: 139.224.72.142 host: 139.224.72.142
@ -24,7 +26,7 @@ spring:
max-active: 8 max-active: 8
max-idle: 8 max-idle: 8
min-idle: 0 min-idle: 0
# 邮件服务器
mail: mail:
host: smtp.sina.com host: smtp.sina.com
username: i100c_report@sina.com username: i100c_report@sina.com
@ -38,16 +40,17 @@ spring:
enable: true enable: true
required: true required: true
# 负载均衡器
ribbon: ribbon:
eureka: eureka:
enabled: false enabled: false # 禁用了eureka不依赖 eureka
ReadTimeout: 60000 ReadTimeout: 60000
ConnectTimeout: 60000 ConnectTimeout: 60000
MaxAutoRetries: 0 MaxAutoRetries: 0
MaxAutoRetriesNextServer: 1 MaxAutoRetriesNextServer: 1
# 记录数据库日志
logging: logging:
level: level:
com: com:
@ -60,6 +63,7 @@ logging:
properties: properties:
config: debug config: debug
# 这块没看懂,待完善,此处用户管理是业务模块,它调用了别人吗?
financeapi: financeapi:
ribbon: ribbon:
listOfServers: http://i100c.3322.org:32134 listOfServers: http://i100c.3322.org:32134
@ -81,11 +85,13 @@ aliyunvinapi:
ribbon: ribbon:
listOfServers: https://vin.shumaidata.com listOfServers: https://vin.shumaidata.com
# 微信
wx: wx:
config: config:
appId: wx9863e002c6a5f8bd appId: wx9863e002c6a5f8bd
appScrect: ee9f5f214f2054f504544476ae542231 appScrect: ee9f5f214f2054f504544476ae542231
# 阿里大鱼的短信服务
aliSms: aliSms:
product: Dysmsapi product: Dysmsapi
domain: dysmsapi.aliyuncs.com domain: dysmsapi.aliyuncs.com
@ -97,14 +103,14 @@ aliSms:
signName: 快卜新能源 signName: 快卜新能源
templateCode: SMS_200181031 templateCode: SMS_200181031
# 腾讯OCR
tencentOcr: tencentOcr:
secretId: AKIDBAF4e0p5w4XlmYeBuud6IGzg8dttMIB6 secretId: AKIDBAF4e0p5w4XlmYeBuud6IGzg8dttMIB6
secretKey: zmJZXN1zgIfnfHclhnriIdhpiOsPwDEz secretKey: zmJZXN1zgIfnfHclhnriIdhpiOsPwDEz
region: ap-shanghai region: ap-shanghai
endpoint: ocr.tencentcloudapi.com endpoint: ocr.tencentcloudapi.com
# 阿里云存储
aliyun: aliyun:
oss: oss:
imageUrl: http://senergyimage.i100c.com/ imageUrl: http://senergyimage.i100c.com/

@ -44,13 +44,14 @@ mybatis-plus:
map-underscore-to-camel-case: true map-underscore-to-camel-case: true
cache-enabled: false cache-enabled: false
# 分页插件
pagehelper: pagehelper:
helperDialect: mysql helperDialect: mysql
reasonable: true reasonable: true
supportMethodsArguments: true supportMethodsArguments: true
params: count=countSql params: count=countSql
# 阿里云短信
aliSms: aliSms:
product: Dysmsapi product: Dysmsapi
domain: dysmsapi.aliyuncs.com domain: dysmsapi.aliyuncs.com

Loading…
Cancel
Save