You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.2 KiB
58 lines
1.2 KiB
5 months ago
|
// 大名科技(天津)有限公司版权所有 电话:18020030720 QQ:515096995
|
||
|
//
|
||
|
// 此源代码遵循位于源代码树根目录中的 LICENSE 文件的许可证
|
||
|
|
||
|
namespace Admin.NET.Plugin.GoView.Service.Dto;
|
||
|
|
||
|
/// <summary>
|
||
|
/// 登录输出
|
||
|
/// </summary>
|
||
|
public class GoViewLoginOutput
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 用户信息
|
||
|
/// </summary>
|
||
|
public GoViewLoginUserInfo Userinfo { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// Token
|
||
|
/// </summary>
|
||
|
public GoViewLoginToken Token { get; set; }
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
/// 登录 Token
|
||
|
/// </summary>
|
||
|
public class GoViewLoginToken
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// Token 名
|
||
|
/// </summary>
|
||
|
public string TokenName { get; set; } = "Authorization";
|
||
|
|
||
|
/// <summary>
|
||
|
/// Token 值
|
||
|
/// </summary>
|
||
|
public string TokenValue { get; set; }
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
/// 用户信息
|
||
|
/// </summary>
|
||
|
public class GoViewLoginUserInfo
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 用户 Id
|
||
|
/// </summary>
|
||
|
public string Id { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 用户名
|
||
|
/// </summary>
|
||
|
public string Username { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 昵称
|
||
|
/// </summary>
|
||
|
public string Nickname { get; set; }
|
||
|
}
|