public IActionResult FastRegistration([FromForm] UserInformation userInformation)
 {
     //#warning 此处逻辑尚未完成
     string[] phoneInfo = userInformation.PhoneInfo.Split("$");
     if (DateTime.Parse(phoneInfo[0]).AddMinutes(5) > DateTime.Now)//生产的时候修改为5
     {
         string phonecodePrimaryString = $"{userInformation.PhoneNumber}{phoneInfo[0]}{userInformation.PhoneCode}{randomString}";
         //判断Code是否正确
         if (Calculator.Md5(phonecodePrimaryString) == phoneInfo[1])
         {
             using (HttpClient client = httpClient.CreateClient())
             {
                 //从JupiterApi内部接口自动登录,获取Token
                 string jupiterPath = configuration.GetSection("AppSetting").Get <JupiterKeys>().JupiterPath;
                 JupiterMessage <AutoCreateResult> autoCreateResult;
                 using (StringContent content = new StringContent(JsonConvert.SerializeObject(new { userInformation.PhoneNumber, WeChatUnionID = default(string), Permission = default(string) })))
                 {
                     content.Headers.ContentType = MediaTypeHeaderValue.Parse("application/json");
                     Task <HttpResponseMessage> x = client.PostAsync($"{jupiterPath}/api/v1/User/AutoCreate?autoPassword=false&returnToken=true", content);
                     autoCreateResult         = JsonConvert.DeserializeObject <JupiterMessage <AutoCreateResult> >(x.Result.Content.ReadAsStringAsync().Result);
                     userInformation.UserGuid = autoCreateResult.Data.Guid;
                     noteContext.UserInformation.Add(userInformation);
                     //noteContext.SaveChangesAsync();//临时取消
                     noteContext.SaveChanges();
                 }
                 Response.Headers["Authorization"] = autoCreateResult.Data.Authorization;
                 var ticketID = QuestionnaireController.CreateTicket(Guid.Parse("b546b709-2b2b-4f6e-9f1f-64f281de8d5b"), autoCreateResult.Data.Guid, autoCreateResult.Data.Authorization);
                 return(Ok(new { TicketID = ticketID }));
             }
             //var ticketID = QuestionnaireController.CreateTicket(Guid.Parse("b546b709-2b2b-4f6e-9f1f-64f281de8d5b"), Guid.NewGuid(), "测试专用ticket");
             //return Ok(new { TicketID = ticketID });
         }
         else
         {
             return(Forbid("验证码不正确"));
         }
     }
     else
     {
         return(Forbid("验证码已过期"));
     }
 }