fix logout bug

This commit is contained in:
2026-04-26 11:33:39 +08:00
parent 28c6d53f38
commit b7775cbe6c
-1
View File
@@ -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))