public string updateStatus(int alipayId, int accid, int oldstatus = 0, int status = 0, bool isGoNextStep = false, string remark = "") { int operatorId = 0; string operatorIP = string.Empty; if (Session["logUser"] != null) { ManageUserModel uM = (ManageUserModel)Session["logUser"]; operatorId = uM.UserID; } operatorIP = Request.UserHostAddress; return(AlipayInfo.updateStatus(accid, oldstatus, status, isGoNextStep, remark, alipayId, operatorId, operatorIP)); }
public string getAlipayInfoRecord(int pageIndex = 1, int userType = -99, int displayType = -99, string accId = "", string start = "", string end = "") { return(AlipayInfo.getAlipayInfoRecord(pageIndex, userType, displayType, accId, start, end)); }
public string getAlipayInfoModel(int alipayId) { return(AlipayInfo.getAlipayInfoModel(alipayId)); }
/// <summary> /// ��ʼ�� /// </summary> protected override void Init() { XmlDocument docXml = new XmlDocument(); docXml.Load(System.Web.HttpContext.Current.Server.MapPath("/Config/payment.config")); //֧������ض�ȡ XmlElement ele = (XmlElement)docXml.GetElementsByTagName("Alipay")[0]; alipayInfo = new AlipayInfo(); alipayInfo.IsEnabled = XYECOM.Core.MyConvert.GetBoolean(ele.GetAttribute("enabled").ToString()); alipayInfo.Service = GetNodeValue(ele, "service"); alipayInfo.Partner = GetNodeValue(ele, "partner"); alipayInfo.InputCharset = GetNodeValue(ele, "inputcharset"); alipayInfo.Email = GetNodeValue(ele, "email"); alipayInfo.SecurityCode = GetNodeValue(ele, "securitycode"); //����������ض�ȡ ele = (XmlElement)docXml.GetElementsByTagName("ChinaBank")[0]; chinaBankInfo = new ChinaBankInfo(); chinaBankInfo.IsEnabled = XYECOM.Core.MyConvert.GetBoolean(ele.GetAttribute("enabled").ToString()); chinaBankInfo.V_Mid = GetNodeValue(ele, "v_mid"); chinaBankInfo.Key = GetNodeValue(ele, "key"); //��Ǯ��ض�ȡ ele = (XmlElement)docXml.GetElementsByTagName("_99Bill")[0]; ___99BillInfo = new _99BillInfo(); ___99BillInfo.IsEnabled = XYECOM.Core.MyConvert.GetBoolean(ele.GetAttribute("enabled").ToString()); ___99BillInfo.Merchant_Id = GetNodeValue(ele, "merchant_id"); ___99BillInfo.Merchant_Key = GetNodeValue(ele, "merchant_key"); }