add(AuthController):新增鉴权控制器

fix(model):修复数据库字段映射问题
This commit is contained in:
2025-11-16 16:21:18 +08:00
14 changed files with 280 additions and 55 deletions
+7
View File
@@ -5,5 +5,12 @@
public int Id { 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;
this.Token = token;
this.RefreshToken = refreshToken;
this.ExpireAt = expireAt;
}
}
}