Exemplo n.º 1
0
        public string Login(string jsonuserin)
        {
            string     jsonuserout = "";
            E_User     usersin     = new E_User(); // 传入的用户
            E_User     usersout    = new E_User(); // 返回的用户
            BLL_E_User bll         = new BLL_E_User();

            usersin = Util.Deserialize <E_User>(jsonuserin);

            if (bll.login(usersin))
            {
                usersout    = bll.FindE_User_ByAccount(usersin);
                jsonuserout = Util.Serialize(usersout);
                return(jsonuserout);
            }
            else
            {
                return("false6");
            }
        }