/user/info不再需要simapiauth,/auth/check去除

This commit is contained in:
2026-05-04 23:23:35 +08:00
parent fc7b38ac4e
commit 3b263b4563
3 changed files with 5 additions and 28 deletions
-7
View File
@@ -9,13 +9,6 @@ using static SimApiError;
public class SimApiAuthController(SimApiAuth auth) : SimApiBaseController
{
/// <summary>
/// 获取已登录用户信息
/// </summary>
/// <returns></returns>
[HttpPost, SimApiAuth, SimApiDoc("认证", "获取已登录用户信息")]
public SimApiLoginItem UserInfo() => LoginInfo;
/// <summary>
/// 退出登陆
/// </summary>