更改了少量登录返回的信息
This commit is contained in:
@@ -8,8 +8,23 @@ namespace WebAppServer1.Models
|
||||
[Key("success")]
|
||||
public bool success { get; set; }
|
||||
[Key("username")]
|
||||
public string username { get; set; }
|
||||
public string username { get; set; } = string.Empty;
|
||||
[Key("userid")]
|
||||
public int userid { get; set; }
|
||||
};
|
||||
|
||||
[MessagePackObject]
|
||||
public class LoginResultResponse
|
||||
{
|
||||
[Key("Nickname")]
|
||||
public string Nickname { get; set; } = string.Empty;
|
||||
[Key("Id")]
|
||||
public int Id { get; set; }
|
||||
[Key("AvatarUrl")]
|
||||
public string AvatarUrl { get; set; } = string.Empty;
|
||||
[Key("Signature")]
|
||||
public string Signature { get; set; } = string.Empty;
|
||||
[Key("IsOnline")]
|
||||
public bool IsOnline { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user