forked from sin365/AxibugEmuOnline
Merge branch 'master' of http://git.axibug.com/sin365/AxibugEmuOnline
This commit is contained in:
commit
2513cf4f7f
@ -130,8 +130,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)
|
||||||
@ -163,8 +163,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)
|
||||||
|
Loading…
Reference in New Issue
Block a user