123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214 |
- #---------- ccnet-weimob 项目 ----------#
- # 项目配置
- app:
- name: ccnet-wx-mp
- description: ${app.name} Project
- # 服务配置
- server:
- address: 183.3.221.143
- port: 9580
- servlet:
- context-path: /
- ds:
- worker-id: 1
- datacenter-id: 1
- # 使用环境
- spring:
- profiles:
- active: dev
- aop:
- proxy-target-class: true
- # 数据源
- datasource:
- primary:
- # 数据源zaxxer HikariCP
- type: com.zaxxer.hikari.HikariDataSource
- driver-class-name: com.mysql.jdbc.Driver
- url: jdbc:mysql://out-rm-wz9rps8173a1nx63gio.mysql.rds.aliyuncs.com:3306/ccnet_wx?useSSL=false&useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&autoReconnect=true&failOverReadOnly=false&zeroDateTimeBehavior=convertToNull
- username: ccnet_wx
- password: b$bFB*86yy
- hikari:
- read-only: true
- connection-timeout: 10000
- validation-timeout: 5000
- idle-timeout: 600000
- max-lifetime: 1200000
- maximum-pool-size: 3
- minimum-idle: 3
- middle:
- # 数据源zaxxer HikariCP
- type: com.zaxxer.hikari.HikariDataSource
- driver-class-name: com.mysql.jdbc.Driver
- url: jdbc:mysql://out-rm-wz9rps8173a1nx63gio.mysql.rds.aliyuncs.com:3306/kmall_pt?useSSL=false&useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&autoReconnect=true&failOverReadOnly=false&zeroDateTimeBehavior=convertToNull
- username: kmall_pt
- password: AFnwRBu!3q
- hikari:
- read-only: true
- connection-timeout: 10000
- validation-timeout: 5000
- idle-timeout: 600000
- max-lifetime: 1200000
- maximum-pool-size: 3
- minimum-idle: 3
- three:
- # 数据源zaxxer HikariCP
- type: com.zaxxer.hikari.HikariDataSource
- driver-class-name: com.mysql.jdbc.Driver
- url: jdbc:mysql://out-rm-wz9rps8173a1nx63gio.mysql.rds.aliyuncs.com:3306/oms_write?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true
- username: out_qhm
- password: r%4PEusOn&
- hikari:
- read-only: true
- connection-timeout: 10000
- validation-timeout: 5000
- idle-timeout: 600000
- max-lifetime: 1200000
- maximum-pool-size: 3
- minimum-idle: 3
- # 队列配置
- rabbitmq:
- host: 120.76.26.84
- port: 5672
- username: admin
- password: Abc-123#
- virtual-host: /
- redis:
- # JedisCluster
- jedis-cluster:
- # Redis Cluster 主机列表
- redis-cluster-host-list:
- - host: 120.76.84.45
- port: 7000
- - host: 120.76.84.45
- port: 7001
- - host: 120.76.84.45
- port: 7002
- - host: 120.76.26.84
- port: 7003
- - host: 120.76.26.84
- port: 7004
- - host: 120.76.26.84
- port: 7005
- password: Abc-123#*.-
- # 连接超时时间(秒), 默认 2*1000
- connection-timeout: 5000
- # so-timeout:
- # 最大重试次数
- max-attempts: 5
- # password:
- pool-config:
- # 连接池管理的对象实例最大数, 默认 8
- max-total: 8
- # 连接池中最大闲置连接数, 默认 8
- max-idle: 8
- # 连接池中最小闲置连接数, 默认 0
- min-idle: 0
- # mybatis config 多数据源
- # 以下配置非官方配置
- mybatis:
- primary:
- # 加载MyBatis配置文件
- config-location: classpath:mybatis/mybatis-config.xml
- mapper-locations: classpath:mybatis/mapper/ccnet/**/*.xml
- # SqlSessionFactoryBean搜索实体beans并注册别名, 多个以逗号分隔
- type-aliases-package: com.emato.ccnet.wx.dao.entity.ccnet
- middle:
- # 加载MyBatis配置文件
- config-location: classpath:mybatis/mybatis-config.xml
- mapper-locations: classpath:mybatis/mapper/wx/**/*.xml
- # SqlSessionFactoryBean搜索实体beans并注册别名, 多个以逗号分隔
- type-aliases-package: com.emato.ccnet.wx.dao.entity.wx
- three:
- # 加载MyBatis配置文件
- config-location: classpath:mybatis/mybatis-config.xml
- mapper-locations: classpath:mybatis/mapper/oms/**/*.xml
- # SqlSessionFactoryBean搜索实体beans并注册别名, 多个以逗号分隔
- type-aliases-package: com.emato.ccnet.wx.dao.entity.oms
- db:
- # 电子订单数据发送csp
- ceb311-send-csp:
- data-size: 2
- # 请求微盟的订单数据
- ccnet-send-wm:
- page-num: 1
- page-size: 20
- ceb311-send-wx:
- data-size: 2
- wx-send-ccnet:
- page-size: 20
- # 商户信息
- merchant:
- code: zwkj
- #平台编号
- plat-sn: 146001
- #平台中文名
- plat-name: 中网商城
- #商户海关备案编号
- merchant-customs-code: 4403160Z3Y
- #商户海关备案名称
- merchant-customs-name: 中网科技(深圳)有限公司
- # 海关业务信息
- cus:
- message:
- # 是否格式化XML报文,主要用于调试程序,生产环境不能格式化(必须为false)
- format: false
- # 报文存放目录
- saveDir: /entity/SZEPORT/send/CEB411/zw/
- # 海关电子订单配置参数
- order:
- # e码头CSP系统
- emato-csp:
- order-url: http://120.76.26.84:8880/order/add
- # ws
- waybill:
- # e码头OMS系统
- emato-oms:
- # 地址 http://wstest.ds-bay.com/bds/order 店提
- shop-url: http://ws.ds-bay.com/al/shop/bdd/cb/order
- # 备货
- bds-url: http://ws.ds-bay.com/al/bds/order
- # 补货
- bdd-url: http://ws.ds-bay.com/al/bdd/supplement/order
- #校验
- check-url: http://ws.ds-bay.com/al/cbnf/buyerPayer/check
- # 快递公司标识
- exprComrId: yunda
- # 快递类型
- exprType: '00'
- #支付信息
- play:
- current: wx
- wx:
- #中网微信公众ID
- app-id: wxb6b30b1b14ee502a
- #微信支付商户号
- mch-id: 1501125641
- #财富通编号:
- pay-code: 440316T004
- #财富通备案名称:
- pay-name: 财付通支付科技有限公司
- #海关
- customs: SHENZHEN
- #地址
- play-url: http://120.76.26.84:9999/wx/custom/wxCbPay
|