From 2dd40ce487646ff9ddc1a90c693336969004256f Mon Sep 17 00:00:00 2001 From: Richasy Date: Wed, 15 Mar 2023 21:45:58 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=9B=B4=E6=92=AD?= =?UTF-8?q?=E8=A7=A3=E6=9E=90=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PlayerProvider/PlayerProvider.Extension.cs | 3 +-- src/Models/Models.BiliBili/Search/LiveSearchItem.cs | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Lib/Lib.Implementation/PlayerProvider/PlayerProvider.Extension.cs b/src/Lib/Lib.Implementation/PlayerProvider/PlayerProvider.Extension.cs index 7f06a9f77..bb968268c 100644 --- a/src/Lib/Lib.Implementation/PlayerProvider/PlayerProvider.Extension.cs +++ b/src/Lib/Lib.Implementation/PlayerProvider/PlayerProvider.Extension.cs @@ -114,12 +114,11 @@ private async Task InternalGetDashAsync(string cid, string aid otherQuery = $"area={area}"; } - var request = await _httpProvider.GetRequestMessageAsync(HttpMethod.Get, url, queryParameters, Models.Enums.RequestClientType.IOS, additionalQuery: otherQuery); + var request = await _httpProvider.GetRequestMessageAsync(HttpMethod.Get, url, queryParameters, RequestClientType.IOS, additionalQuery: otherQuery); var response = await _httpProvider.SendAsync(request); var data = await _httpProvider.ParseAsync, ServerResponse2>(response, (str) => { var jobj = JObject.Parse(str); - Debug.WriteLine(jobj.ToString()); return jobj.ContainsKey("data"); }); diff --git a/src/Models/Models.BiliBili/Search/LiveSearchItem.cs b/src/Models/Models.BiliBili/Search/LiveSearchItem.cs index 12a97e439..15ee12333 100644 --- a/src/Models/Models.BiliBili/Search/LiveSearchItem.cs +++ b/src/Models/Models.BiliBili/Search/LiveSearchItem.cs @@ -25,7 +25,7 @@ public class LiveSearchItem : SearchItemBase /// 用户Id. /// [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "mid", Required = Required.Default)] - public int UserId { get; set; } + public long UserId { get; set; } /// /// 类型. From 99b150794d68654dd138f71dc0ed473802bf7fd4 Mon Sep 17 00:00:00 2001 From: Richasy Date: Wed, 15 Mar 2023 21:46:10 +0800 Subject: [PATCH 2/2] Update --- .../PlayerProvider/PlayerProvider.Extension.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Lib/Lib.Implementation/PlayerProvider/PlayerProvider.Extension.cs b/src/Lib/Lib.Implementation/PlayerProvider/PlayerProvider.Extension.cs index bb968268c..d13092a2a 100644 --- a/src/Lib/Lib.Implementation/PlayerProvider/PlayerProvider.Extension.cs +++ b/src/Lib/Lib.Implementation/PlayerProvider/PlayerProvider.Extension.cs @@ -2,7 +2,6 @@ using System; using System.Collections.Generic; -using System.Diagnostics; using System.Net.Http; using System.Threading; using System.Threading.Tasks;