Ejemplo n.º 1
0
        public JsonResult CheckLoName(string lname, string uid)
        {
            JMP.BLL.CoBusinessPersonnel userBll = new JMP.BLL.CoBusinessPersonnel();
            bool flag = userBll.ExistsLogName(lname, uid);

            return(Json(new { success = flag, mess = flag ? "已存在该登录名称!" : "不存在登录名称!" }));
        }