Esempio n. 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);
 }
Esempio n. 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);
 }
Esempio n. 3
0
 public ActionResult Login(string account, string password, ClientType clientype, string clientsn)
 {
     client = new ServicePassport.ServiceReceptionClient();
     var ret = client.Login(account, password, clientype, clientsn);
     //IServiceAuthentication serv = new ServiceAuthentication();
     //ComRet ret = serv.Login(account, password, client, clientsn);
     return JResult(ret);
 }
Esempio n. 4
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));
        }
Esempio n. 5
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));
        }
Esempio n. 6
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));
        }
Esempio n. 7
0
        public ActionResult Login(string account, string password, ClientType clientype, string clientsn)
        {
            client = new ServicePassport.ServiceReceptionClient();
            var ret = client.Login(account, password, clientype, clientsn);

            //IServiceAuthentication serv = new ServiceAuthentication();
            //ComRet ret = serv.Login(account, password, client, clientsn);
            return(JResult(ret));
        }
Esempio n. 8
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));
        }
Esempio n. 9
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);
 }
Esempio n. 10
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);
 }