main
黄海 1 year ago
parent c91b241a7b
commit 3697669fff

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

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

Loading…
Cancel
Save