modify(login): 修改登录返回对象,新增返回用户信息

This commit is contained in:
2025-12-28 22:01:24 +08:00
parent 82652efed7
commit 62642ee86a
87 changed files with 2730 additions and 755 deletions
+3 -3
View File
@@ -2,12 +2,12 @@
{
public class LoginDto
{
public int Id { get; set; }
public UserInfoDto userInfo { get; set; }
public string Token { get; set; }
public string RefreshToken { get; set; }
public DateTime ExpireAt { get; set; }
public LoginDto(int id,string token,string refreshToken,DateTime expireAt) {
this.Id = id;
public LoginDto(UserInfoDto userInfo,string token, string refreshToken, DateTime expireAt) {
this.userInfo = userInfo;
this.Token = token;
this.RefreshToken = refreshToken;
this.ExpireAt = expireAt;