Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-blk
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
1
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
htoooth
9 years ago
Commit
f349f7991b7378a48146258c957a9cae7a692447
1 parent
e9de41ec
fix path
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
86 additions
and
2 deletions
apps/shopping/controllers/pay.js
apps/shopping/models/pay-api.js
apps/shopping/models/pay.js
apps/shopping/modules/bank.js
apps/shopping/controllers/pay.js
View file @
f349f79
...
...
@@ -4,6 +4,8 @@
* @date: 2016/07/18
*/
"use strict"
;
const
PayService
=
require
(
'../models/pay'
);
const
Pay
=
{
...
...
apps/shopping/models/pay-api.js
View file @
f349f79
...
...
@@ -2,6 +2,8 @@
* Created by TaoHuang on 2016/7/18.
*/
"use strict"
;
const
api
=
global
.
yoho
.
API
;
const
API
=
{};
...
...
apps/shopping/models/pay.js
View file @
f349f79
...
...
@@ -4,8 +4,7 @@
* @date: 2016/07/18
*/
const
api
=
require
(
'pay-api'
);
const
api
=
require
(
'./pay-api'
);
const
Service
=
{};
...
...
apps/shopping/modules/bank.js
0 → 100644
View file @
f349f79
/**
* 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
...
...
Please
register
or
login
to post a comment