获取充值渠道下的银行列表
访问地址:
/?d=api&c=channel&m=getchannelbanks
访问形式:POST
参数cid:充值渠道id 整数 非负
参数source: 来源 1为pc 2为移动
正确返回格式:
{
"status": 1,
"data": {
"data": [
{
"id": "3",
"bankname": "中国银行",
"bankcode": "boc",
"channel_id": "1",
"flag": "/static/images/bank/中国银行.gif",
"enable": "1",
"sort_order": "0",
"upstarttime": "0",
"upendtime": "0"
},
{
"id": "1",
"bankname": "工商银行",
"bankcode": "icbc",
"channel_id": "1",
"flag": "/static/images/bank/工商银行.gif",
"enable": "1",
"sort_order": "0",
"upstarttime": "1483372800",
"upendtime": "1483545540"
}
]
}
}
错误返回形式:
{
"status": 0,
"data": {
"msg": "该充值渠道下无可用银行"
}
}