/// <summary> /// 账户充值审核 /// </summary> /// <param name="info">充值审核信息业务实体</param> /// <returns></returns> public bool SetSmsBankRechargeStatus(EyouSoft.Model.SmsStructure.MSetSmsBankChargeStatusInfo info) { if (info == null || string.IsNullOrEmpty(info.ChargeId) || info.RealAmount <= 0 || string.IsNullOrEmpty(info.ShenHeRen)) { return(false); } var api = GetSmsWebmasterCenterApi(); var apiRequestInfo = new EyouSoft.BLL.SmsCenter.MCheckSmsBankCharge(); apiRequestInfo.ChargeId = info.ChargeId; apiRequestInfo.RealAmount = info.RealAmount; apiRequestInfo.Status = (EyouSoft.BLL.SmsCenter.ChargeStatus)info.Status; apiRequestInfo.ShenHeRen = info.ShenHeRen; apiRequestInfo.ShenHeBeiZhu = info.ShenHeBeiZhu; apiRequestInfo.ShenHeShiJian = DateTime.Now; return(api.SetSmsBankRechargeStatus(apiRequestInfo)); }
/// <summary> /// 审核操作 /// </summary> void ShenHe() { var info = new EyouSoft.Model.SmsStructure.MSetSmsBankChargeStatusInfo(); info.ChargeId = Utils.GetFormValue("chongZhiBianHao"); info.RealAmount = Utils.GetDecimal(Utils.GetFormValue("shiJiChongZhiJinE")); info.ShenHeBeiZhu = Utils.GetFormValue("shenHeBeiZhu"); info.ShenHeRen = Utils.GetFormValue("shenHeRen"); info.Status = Utils.GetInt(Utils.GetFormValue("status")); string retCode = "0"; if (new EyouSoft.BLL.SmsStructure.BSmsAccount().SetSmsBankRechargeStatus(info)) { retCode = "1"; } Response.Clear(); Response.Write(retCode); Response.End(); }