public IActionResult Login(string phone) { bool accept = validator.IsPhone(ref phone); return(new JsonResult(new { phone, accept })); }