Compare commits

...
1 Commits
Author SHA1 Message Date
xrain b7775cbe6c fix logout bug 2026-04-26 11:33:39 +08:00
-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))