Example #1
0
 public ActionResult Logout(string ticket)
 {
     client = new ServicePassport.ServiceReceptionClient();
     var ret = client.Logout(ticket);
     //IServiceAuthentication serv = new ServiceAuthentication();
     //ComRet ret = serv.Logout(ticket);
     return JResult(ret);
 }
Example #2
0
 public ActionResult Register(string account, string password)
 {
     client = new ServicePassport.ServiceReceptionClient();
     var ret = client.Register(account, password);
     //IServiceAuthentication serv = new ServiceAuthentication();
     //ComRet ret = serv.Register(account, password);
     return JResult(ret);
 }
Example #3
0
        public ActionResult UpdateUserInfo(string ticket, string name, int gender)
        {
            client = new ServicePassport.ServiceReceptionClient();
            var ret = client.UpdateInfo(ticket, name, (Gender)gender);

            //IServiceAuthentication serv = new ServiceAuthentication();
            //ComRet ret = serv.UpdateInfo(ticket, name, (Gender)gender);
            return(JResult(ret));
        }
Example #4
0
        public ActionResult Register(string account, string password)
        {
            client = new ServicePassport.ServiceReceptionClient();
            var ret = client.Register(account, password);

            //IServiceAuthentication serv = new ServiceAuthentication();
            //ComRet ret = serv.Register(account, password);
            return(JResult(ret));
        }
Example #5
0
        public ActionResult Logout(string ticket)
        {
            client = new ServicePassport.ServiceReceptionClient();
            var ret = client.Logout(ticket);

            //IServiceAuthentication serv = new ServiceAuthentication();
            //ComRet ret = serv.Logout(ticket);
            return(JResult(ret));
        }
Example #6
0
        public ActionResult UpdateTelphone(string ticket, string telphone)
        {
            client = new ServicePassport.ServiceReceptionClient();
            var ret = client.UpdateInfo(ticket, telphone);

            //IServiceAuthentication serv = new ServiceAuthentication();
            //ComRet ret = serv.UpdateInfo(ticket, telphone);
            return(JResult(ret));
        }
Example #7
0
 public ActionResult UpdateTelphone(string ticket, string telphone)
 {
     client = new ServicePassport.ServiceReceptionClient();
     var ret = client.UpdateInfo(ticket, telphone);
     //IServiceAuthentication serv = new ServiceAuthentication();
     //ComRet ret = serv.UpdateInfo(ticket, telphone);
     return JResult(ret);
 }
Example #8
0
 public ActionResult UpdateUserInfo(string ticket, string name, int gender)
 {
     client = new ServicePassport.ServiceReceptionClient();
     var ret = client.UpdateInfo(ticket, name, (Gender)gender);
     //IServiceAuthentication serv = new ServiceAuthentication();
     //ComRet ret = serv.UpdateInfo(ticket, name, (Gender)gender);
     return JResult(ret);
 }