Authored by htoooth

fix path

... ... @@ -4,6 +4,8 @@
* @date: 2016/07/18
*/
"use strict";
const PayService = require('../models/pay');
const Pay = {
... ...
... ... @@ -2,6 +2,8 @@
* Created by TaoHuang on 2016/7/18.
*/
"use strict";
const api = global.yoho.API;
const API = {};
... ...
... ... @@ -4,8 +4,7 @@
* @date: 2016/07/18
*/
const api = require('pay-api');
const api = require('./pay-api');
const Service = {};
... ...
/**
* Created by TaoHuang on 2016/7/18.
*/
"use strict";
const Bank = {
getList: () => {
return {
BOCB2C: {
name: '中国银行',
ico: 'http://static.yohobuy.com/images/pay/icon/zhongguo.png'
},
ABC: {
name: '中国农业银行',
ico: 'http://static.yohobuy.com/images/pay/icon/nongye.png'
},
SPABANK: {
name: '平安银行',
ico: 'http://static.yohobuy.com/images/pay/icon/pingan.png'
},
CMBC: {
name: '中国民生银行',
ico: 'http://static.yohobuy.com/images/pay/icon/minsheng.png'
},
ICBCB2C: {
name: '中国工商银行',
ico: 'http://static.yohobuy.com/images/pay/icon/gongshang.png'
},
SPDB: {
name: '浦发银行',
ico: 'http://static.yohobuy.com/images/pay/icon/pufa.png'
},
BJRCB: {
name: '北京农商银行',
ico: 'http://static.yohobuy.com/images/pay/icon/beijingnongshang.png'
},
HZCBB2C: {
name: '杭州银行',
ico: 'http://static.yohobuy.com/images/pay/icon/hangzhou.png'
},
CMB: {
name: '招商银行',
ico: 'http://static.yohobuy.com/images/pay/icon/zhaoshang.png'
},
CIB: {
name: '兴业银行',
ico: 'http://static.yohobuy.com/images/pay/icon/xingye.png'
},
FDB: {
name: '富滇银行',
ico: 'http://static.yohobuy.com/images/pay/icon/fudian.png'
},
CEBDEBIT: {
name: '中国光大银行',
ico: 'http://static.yohobuy.com/images/pay/icon/guangda.png'
},
CCB: {
name: '中国建设银行',
ico: 'http://static.yohobuy.com/images/pay/icon/zhongguojianshe.png'
},
GDB: {
name: '广发银行',
ico: 'http://static.yohobuy.com/images/pay/icon/guangfa.png'
},
POSTGC: {
name: '中国邮政储蓄',
ico: 'http://static.yohobuy.com/images/pay/icon/zhongguoyouzhengchuxu.png'
},
SHBANK: {
name: '上海银行',
ico: 'http://static.yohobuy.com/images/pay/icon/shanghai.png'
},
NBBANK: {
name: '宁波银行',
ico: 'http://static.yohobuy.com/images/pay/icon/ningbo.png'
}
};
}
};
module.exports = Bank;
\ No newline at end of file
... ...