예제 #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);
 }
예제 #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);
 }
예제 #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));
        }
예제 #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));
        }
예제 #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));
        }
예제 #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));
        }
예제 #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);
 }
예제 #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);
 }