Authored by htoooth

fix path

@@ -4,6 +4,8 @@ @@ -4,6 +4,8 @@
4 * @date: 2016/07/18 4 * @date: 2016/07/18
5 */ 5 */
6 6
  7 +"use strict";
  8 +
7 const PayService = require('../models/pay'); 9 const PayService = require('../models/pay');
8 10
9 const Pay = { 11 const Pay = {
@@ -2,6 +2,8 @@ @@ -2,6 +2,8 @@
2 * Created by TaoHuang on 2016/7/18. 2 * Created by TaoHuang on 2016/7/18.
3 */ 3 */
4 4
  5 +"use strict";
  6 +
5 const api = global.yoho.API; 7 const api = global.yoho.API;
6 8
7 const API = {}; 9 const API = {};
@@ -4,8 +4,7 @@ @@ -4,8 +4,7 @@
4 * @date: 2016/07/18 4 * @date: 2016/07/18
5 */ 5 */
6 6
7 -  
8 -const api = require('pay-api'); 7 +const api = require('./pay-api');
9 8
10 const Service = {}; 9 const Service = {};
11 10
  1 +/**
  2 + * Created by TaoHuang on 2016/7/18.
  3 + */
  4 +"use strict";
  5 +
  6 +const Bank = {
  7 + getList: () => {
  8 + return {
  9 + BOCB2C: {
  10 + name: '中国银行',
  11 + ico: 'http://static.yohobuy.com/images/pay/icon/zhongguo.png'
  12 + },
  13 + ABC: {
  14 + name: '中国农业银行',
  15 + ico: 'http://static.yohobuy.com/images/pay/icon/nongye.png'
  16 + },
  17 + SPABANK: {
  18 + name: '平安银行',
  19 + ico: 'http://static.yohobuy.com/images/pay/icon/pingan.png'
  20 + },
  21 + CMBC: {
  22 + name: '中国民生银行',
  23 + ico: 'http://static.yohobuy.com/images/pay/icon/minsheng.png'
  24 + },
  25 + ICBCB2C: {
  26 + name: '中国工商银行',
  27 + ico: 'http://static.yohobuy.com/images/pay/icon/gongshang.png'
  28 + },
  29 + SPDB: {
  30 + name: '浦发银行',
  31 + ico: 'http://static.yohobuy.com/images/pay/icon/pufa.png'
  32 + },
  33 + BJRCB: {
  34 + name: '北京农商银行',
  35 + ico: 'http://static.yohobuy.com/images/pay/icon/beijingnongshang.png'
  36 + },
  37 + HZCBB2C: {
  38 + name: '杭州银行',
  39 + ico: 'http://static.yohobuy.com/images/pay/icon/hangzhou.png'
  40 + },
  41 + CMB: {
  42 + name: '招商银行',
  43 + ico: 'http://static.yohobuy.com/images/pay/icon/zhaoshang.png'
  44 + },
  45 + CIB: {
  46 + name: '兴业银行',
  47 + ico: 'http://static.yohobuy.com/images/pay/icon/xingye.png'
  48 + },
  49 + FDB: {
  50 + name: '富滇银行',
  51 + ico: 'http://static.yohobuy.com/images/pay/icon/fudian.png'
  52 + },
  53 + CEBDEBIT: {
  54 + name: '中国光大银行',
  55 + ico: 'http://static.yohobuy.com/images/pay/icon/guangda.png'
  56 + },
  57 + CCB: {
  58 + name: '中国建设银行',
  59 + ico: 'http://static.yohobuy.com/images/pay/icon/zhongguojianshe.png'
  60 + },
  61 + GDB: {
  62 + name: '广发银行',
  63 + ico: 'http://static.yohobuy.com/images/pay/icon/guangfa.png'
  64 + },
  65 + POSTGC: {
  66 + name: '中国邮政储蓄',
  67 + ico: 'http://static.yohobuy.com/images/pay/icon/zhongguoyouzhengchuxu.png'
  68 + },
  69 + SHBANK: {
  70 + name: '上海银行',
  71 + ico: 'http://static.yohobuy.com/images/pay/icon/shanghai.png'
  72 + },
  73 + NBBANK: {
  74 + name: '宁波银行',
  75 + ico: 'http://static.yohobuy.com/images/pay/icon/ningbo.png'
  76 + }
  77 + };
  78 + }
  79 +};
  80 +
  81 +module.exports = Bank;