This commit is contained in:
sin365 2025-01-09 13:32:15 +08:00
parent da81d4799a
commit 95d05cf799
2 changed files with 5 additions and 5 deletions

View File

@ -87,7 +87,7 @@
/// 当Rom收藏状态变化时触发 /// 当Rom收藏状态变化时触发
/// <para><see cref="int"/>RomID</para> /// <para><see cref="int"/>RomID</para>
/// </summary> /// </summary>
OnRomStarStateChanged, //TODO 实现这个事件 OnRomStarStateChanged,
/// <summary> /// <summary>
/// 网络即时存档列表更新 /// 网络即时存档列表更新
/// </summary> /// </summary>

View File

@ -129,8 +129,8 @@ namespace AxibugEmuOnline.Client
//string utf8String = Encoding.UTF8.GetString(utf8Bytes); //string utf8String = Encoding.UTF8.GetString(utf8Bytes);
//searchKey = UrlEncode(utf8String); //searchKey = UrlEncode(utf8String);
//App.log.Info($"search->{utf8String} ->{searchKey}"); //App.log.Info($"search->{utf8String} ->{searchKey}");
string url = $"{WebSiteApi}/RomList?Page={page}&PageSize={pageSize}&SearchKey={searchKey}&Token={App.user.Token}"; string url = $"{WebSiteApi}/MarkList?Page={page}&PageSize={pageSize}&SearchKey={searchKey}&Token={App.user.Token}";
App.log.Info($"GetRomList=>{url}"); App.log.Info($"MarkList=>{url}");
AxiHttpProxy.SendWebRequestProxy request = AxiHttpProxy.Get(url); AxiHttpProxy.SendWebRequestProxy request = AxiHttpProxy.Get(url);
yield return request.SendWebRequest; yield return request.SendWebRequest;
if (!request.downloadHandler.isDone) if (!request.downloadHandler.isDone)
@ -162,8 +162,8 @@ namespace AxibugEmuOnline.Client
} }
private IEnumerator GetMarkListFlow(AxibugProtobuf.RomPlatformType platform, int page, int pageSize, Action<int, Resp_GameList> callback) private IEnumerator GetMarkListFlow(AxibugProtobuf.RomPlatformType platform, int page, int pageSize, Action<int, Resp_GameList> callback)
{ {
string url = $"{WebSiteApi}/RomList?Page={page}&PageSize={pageSize}&PType={(int)platform}&Token={App.user.Token}"; string url = $"{WebSiteApi}/MarkList?Page={page}&PageSize={pageSize}&PType={(int)platform}&Token={App.user.Token}";
App.log.Info($"GetRomList=>{url}"); App.log.Info($"MarkList=>{url}");
AxiHttpProxy.SendWebRequestProxy request = AxiHttpProxy.Get(url); AxiHttpProxy.SendWebRequestProxy request = AxiHttpProxy.Get(url);
yield return request.SendWebRequest; yield return request.SendWebRequest;
if (!request.downloadHandler.isDone) if (!request.downloadHandler.isDone)