diff --git a/AuthGate/SimApiAuthGate.cs b/AuthGate/SimApiAuthGate.cs
index 40e88f2..a481c04 100644
--- a/AuthGate/SimApiAuthGate.cs
+++ b/AuthGate/SimApiAuthGate.cs
@@ -96,7 +96,7 @@ public class SimApiAuthGate(SimApiAuthGateClient simapi)
///
///
///
- public SimApiAuthGateDto.GetCodeResponse GetAuthCode(string? scene = null, Dictionary? data = null,
+ public SimApiAuthGateDto.GetCodeResponse GetLoginCode(string? scene = null, Dictionary? data = null,
string? backUrl = null)
{
var code = simapi.SignQuery("/api/auth/login/code",
@@ -115,9 +115,9 @@ public class SimApiAuthGate(SimApiAuthGateClient simapi)
///
///
///
- public SimApiAuthGateDto.AuthInfoResponse GetAuthInfo(string code, string? scene = null)
+ public SimApiAuthGateDto.LoginInfoResponse GetLoginInfo(string code, string? scene = null)
{
- var resp = simapi.SignQuery("/api/auth/login/get", new { code });
+ var resp = simapi.SignQuery("/api/auth/login/get", new { code });
ErrorWhenNull(resp, 400232, "登录信息获取失败");
ErrorWhen(resp.Scene != scene, 403003, "登录场景不匹配");
return resp;
diff --git a/AuthGate/SimApiAuthGateDto.cs b/AuthGate/SimApiAuthGateDto.cs
index 47b80e4..c2e4f32 100644
--- a/AuthGate/SimApiAuthGateDto.cs
+++ b/AuthGate/SimApiAuthGateDto.cs
@@ -21,7 +21,7 @@ public class SimApiAuthGateDto
public Dictionary? Data { get; set; }
}
- public class AuthInfoResponse
+ public class LoginInfoResponse
{
public string? Scene { get; set; }
public Dictionary? Data { get; set; }