Exemple #1
0
        public ActionResult <ResponseStruct <SignInStruct> > Login(long phone, string pass, int platformID = 2)
        {
            var ipAddress = HttpContext.Connection.RemoteIpAddress;

            communication.log($"phone = {phone}\n pass ->{pass} \n platformID ->{platformID}", MethodBase.GetCurrentMethod().Name, ipAddress.ToString());



            DbSelect select = new DbSelect(Configuration, _hostingEnvironment);

            return(select.LogIn(phone, pass, platformID));
        }