コード例 #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 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);
 }
コード例 #4
0
ファイル: AccountController.cs プロジェクト: litfung/iTrip
        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));
        }
コード例 #5
0
ファイル: AccountController.cs プロジェクト: litfung/iTrip
        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));
        }
コード例 #6
0
ファイル: AccountController.cs プロジェクト: litfung/iTrip
        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));
        }
コード例 #7
0
ファイル: AccountController.cs プロジェクト: litfung/iTrip
        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));
        }
コード例 #8
0
ファイル: AccountController.cs プロジェクト: litfung/iTrip
        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));
        }
コード例 #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);
 }
コード例 #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);
 }