Ejemplo n.º 1
0
        public ActionResult OnCheckPassword(string userId, string password)
        {
            StatusReport sr = new StatusReport();

            if (string.IsNullOrEmpty(userId) || string.IsNullOrEmpty(password))
            {
                sr.status = "Fail";
                sr.result = "信息不完整";
                return(Json(sr));
            }
            sr = EmployeeDal.CheckPassword(userId, password);
            return(Json(sr));
        }