网关支付_路由模块(core_router)
2017-07-13 18:59:04   16  举报             
     
         
 网关支付_路由模块(core_router)  
    作者其他创作
 大纲/内容
 channelInterList
  路由金融机构(根据orgCode查询机构实体放进本地缓存及路由上下文routerContext里)
  网关支付_路由模块(core_router)
  BaseReq中的OrgCode
  channel
  路由限额(1从router_channel_inter查询出单笔限额和传来的金额比较,若限额大于传过来的金额,证明是符合要求,2将这样的channelInterList放进路由上下文routerContext;3若channelInterList只有一个则将interCode放进BaseReq;)
  路由接口(1.获取唯一接口编码[从BaseReq中获取,若BaseReq中没有,则从路由上下文routerContext的成员变量ChannelInterList中取出第一个接口编码interCode];2.根据interCode来查询接口实体interEntity放进本地缓存3.将接口实体interEntity、orgCode、ineerCode放进BaseReq中)
  路由通道接口映射(1根据channelCode查询channelInterList放到本地缓存;2若channelInterList只有一个则将interCode放进BaseReq;3将通道接口映射实体channelInterList放进路由上下文routerContext)
  BaseReq 、RouterInterEntity
  biz
  路由业务线(1根据bizCode查询router_biz表查出业务线实体放在本地缓存;2将业务线实体biz放进路由上下文routerContext)
    路由订单序列号(根据interCode调用不同的单号生成类,若生成类的为空,则把默认的生成单号的对象放进路由上下文)
  BaseReq、ChannelInterList
  开始
  结束
  routerContext中的RouterInterEntity
   
 
 
 
 
  0 条评论
 下一页
  
   
   
   
  
  
  
  
  
  
  
  
 