mirror of
https://github.com/leiurayer/downkyi.git
synced 2024-04-21 12:41:55 +00:00
更新悄悄关注API
This commit is contained in:
@@ -23,7 +23,9 @@ namespace DownKyi.Core.BiliApi.Users.Models
|
||||
public string Face { get; set; }
|
||||
[JsonProperty("sign")]
|
||||
public string Sign { get; set; }
|
||||
// face_nft
|
||||
// official_verify
|
||||
// vip
|
||||
// nft_icon
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,7 +8,14 @@ namespace DownKyi.Core.BiliApi.Users.Models
|
||||
public class RelationWhisper : BaseModel
|
||||
{
|
||||
[JsonProperty("data")]
|
||||
public List<RelationFollowInfo> Data { get; set; }
|
||||
public RelationWhisperData Data { get; set; }
|
||||
}
|
||||
|
||||
public class RelationWhisperData : BaseModel
|
||||
{
|
||||
[JsonProperty("list")]
|
||||
public List<RelationFollowInfo> List { get; set; }
|
||||
// re_version
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -139,8 +139,8 @@ namespace DownKyi.Core.BiliApi.Users
|
||||
try
|
||||
{
|
||||
RelationWhisper relationWhisper = JsonConvert.DeserializeObject<RelationWhisper>(response);
|
||||
if (relationWhisper == null || relationWhisper.Data == null) { return null; }
|
||||
return relationWhisper.Data;
|
||||
if (relationWhisper == null || relationWhisper.Data == null || relationWhisper.Data.List == null) { return null; }
|
||||
return relationWhisper.Data.List;
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user