diff --git a/Controllers/SimApiAuthController.cs b/Controllers/SimApiAuthController.cs index 2eaa028..843f150 100644 --- a/Controllers/SimApiAuthController.cs +++ b/Controllers/SimApiAuthController.cs @@ -30,7 +30,6 @@ public class SimApiAuthController(SimApiAuth auth) : SimApiBaseController [HttpPost, SimApiDoc("认证", "退出登陆")] public SimApiBaseResponse Logout() { - ErrorWhenNull(null); string? token = null; if (Request.Headers.TryGetValue("Token", out var value))