public async Task <IActionResult> Logon(string account, string password) { var token = await _guest.Logon(account, password); if (token.HasValue()) { return(StatusCode(200, token)); } else { return(StatusCode(400, "Jwt生成异常")); } }