spring: data: mongodb: # mongodb数据库 uri: mongodb://yltcharge:yltcharge@10.10.14.210:27017/yltcharge datasource: # mysql数据库 url: jdbc:mysql://10.10.14.210:22066/yltcharge?useUnicode=true&characterEncoding=UTF-8&useSSL=false username: ycharge password: ycharge driver-class-name: com.mysql.jdbc.Driver druid: stat-view-servlet: allow: true type: com.alibaba.druid.pool.DruidDataSource filters: stat maxActive: 20 # Redis 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 # 邮件服务器 mail: host: smtp.sina.com username: i100c_report@sina.com password: i100csina port: 587 properties: mail: smtp: auth: true starttls: enable: true required: true # 负载均衡器 ribbon: eureka: enabled: false # 禁用了eureka,不依赖 eureka ReadTimeout: 60000 ConnectTimeout: 60000 MaxAutoRetries: 0 MaxAutoRetriesNextServer: 1 # 记录数据库日志 logging: level: com: icharge: user: mapper: error config: classpath:logback-spring.xml properties: config: debug financeapi: ribbon: listOfServers: http://ms-finance:7014 cheweiapi: ribbon: listOfServers: http://cz.api.cheweiguanjia.com orderbkapi: ribbon: listOfServers: http://i100c.3322.org:32202 orderapi: ribbon: listOfServers: http://i100c.3322.org:30258 mgrapi: ribbon: listOfServers: http://ms-saas-mgr:7026 aliyunvinapi: ribbon: listOfServers: https://vin.shumaidata.com # 微信 wx: config: appId: wxf077d1a84a951991 appScrect: f159a92730247f7e574bd8c538ae6910 # 阿里大鱼的短信服务 aliSms: product: Dysmsapi domain: dysmsapi.aliyuncs.com accessKeyId: LTAI4G3v2pxUaSTbuiHH2FCy accessKeySecret: PMXAuT3fiknhtM3YlR59SfW9BFXu62 regionId: cn-hangzhou endponitName: cn-hangzhou companyBalance: signName: 快卜新能源 templateCode: SMS_200181031 # 腾讯OCR tencentOcr: secretId: AKIDBAF4e0p5w4XlmYeBuud6IGzg8dttMIB6 secretKey: zmJZXN1zgIfnfHclhnriIdhpiOsPwDEz region: ap-shanghai endpoint: ocr.tencentcloudapi.com # 阿里云存储 aliyun: oss: imageUrl: http://senergyimage.i100c.com/ endpoint: https://oss-cn-chengdu-internal.aliyuncs.com/ accessKeyId: LTAI0CQ1psAz9fmV accessKeySecret: cIL5DnZFR5N1PSZp958em7eR4oLtNY bucketName: senergy vin: appCode: edcba71c27314c12bfbea3332ad11ab3 appKey: 203881974 appSecret: saI3NelhoerLGtJK1RFPiZsO9GedgpFE