private void ajaxCash() { string bankId = base.f("bankId"); string userBankId = base.f("userBankId"); string money = base.f("money"); string passWord = base.f("pass"); string text = base.f("code"); string str = new UserGetCashDAL().UserGetCash(this.AdminId, userBankId, bankId, money, passWord); this._response = base.JsonResult(0, str); }
private void ajaxCash() { string bankId = base.f("bankId"); string userBankId = base.f("userBankId"); string money = base.f("money"); string passWord = base.f("pass"); string code = base.f("code"); string text = ""; if (!ValidateCode.CheckValidateCode(code, ref text)) { this._response = base.JsonResult(0, "验证码错误"); } else { string str = new UserGetCashDAL().UserGetCash(this.AdminId, userBankId, bankId, money, passWord); this._response = base.JsonResult(0, str); } }