private void btnDrawConfirm_Click(object sender, System.EventArgs e) { Member member = Users.GetUser(HiContext.Current.User.UserId) as Member; if (member.RequestBalance > 0m) { this.ShowMessage("上笔提现管理员还没有处理,只有处理完后才能再次申请提现", false); return; } BalanceDrawRequestInfo balanceDrawRequest = this.GetBalanceDrawRequest(); if (!this.ValidateBalanceDrawRequest(balanceDrawRequest)) { return; } if (MemberProcessor.BalanceDrawRequest(balanceDrawRequest)) { this.Page.Response.Redirect(Globals.GetSiteUrls().UrlData.FormatUrl("user_MyAccountSummary")); return; } this.ShowMessage("申请提现过程中出现未知错误", false); }
private void btnDrawConfirm_Click(object sender, EventArgs e) { MemberInfo user = HiContext.Current.User; if (user.RequestBalance > decimal.Zero) { this.ShowMessage("上笔提现管理员还没有处理,只有处理完后才能再次申请提现", false, "", 1); } else { BalanceDrawRequestInfo balanceDrawRequest = this.GetBalanceDrawRequest(); if (this.ValidateBalanceDrawRequest(balanceDrawRequest)) { if (MemberProcessor.BalanceDrawRequest(balanceDrawRequest)) { this.Page.Response.Redirect("/User/MyAccountSummary"); } else { this.ShowMessage("申请提现过程中出现未知错误", false, "", 1); } } } }