26 lines
634 B
C#
26 lines
634 B
C#
using LC.Newtonsoft.Json;
|
|
|
|
namespace TapTap.Login.Internal.Http {
|
|
public class ProfileData {
|
|
[JsonProperty("openid")]
|
|
public string OpenId { get; set; }
|
|
|
|
[JsonProperty("unionid")]
|
|
public string UnionId { get; set; }
|
|
|
|
[JsonProperty("name")]
|
|
public string Name { get; set; }
|
|
|
|
[JsonProperty("gender")]
|
|
public string Gender { get; set; }
|
|
|
|
[JsonProperty("avatar")]
|
|
public string Avatar { get; set; }
|
|
}
|
|
|
|
public class ProfileResponse {
|
|
[JsonProperty("data")]
|
|
public ProfileData Data { get; set; }
|
|
}
|
|
}
|