code: 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;
  }
docs: 获取支付通道