function getPayChannel(bc_channel) {
	var dc_channel_id = '';
	switch (bc_channel) {
		case 'ALI_APP':
			dc_channel_id = 'alipay';
			break;
		case 'WX_APP':
			dc_channel_id = 'wxpay';
			break;
		default:
			break;
	} 

	for (var i in channels) {
		if (channels[i].id == dc_channel_id) {
			return channels[i];
		}
	}
	return null;
}
function getPayChannel(bc_channel) {
	var dc_channel_id = '';
	switch (bc_channel) {
		case 'ALI_APP':
			dc_channel_id = 'alipay';
			break;
		case 'WX_APP':
			dc_channel_id = 'wxpay';
			break;
		default:
			break;
	} 

	for (var i in channels) {
		if (channels[i].id == dc_channel_id) {
			return channels[i];
		}
	}
	return null;
}
function getPayChannel ( bc_channel ) { var dc_channel_id = '' ; switch ( bc_channel ) { case 'ALI_APP' : dc_channel_id = 'alipay' ; break ; case 'WX_APP' : dc_channel_id = 'wxpay' ; break ; default : break ; } for ( var i in channels ) { if ( channels [ i ] . id == dc_channel_id ) { return channels [ i ] ; } } return null ; }
获取支付通道
获取支付通道
Get the channel object