mirror of
https://jihulab.com/DGP-Studio/Snap.Hutao.git
synced 2025-11-19 21:02:53 +08:00
update readme
This commit is contained in:
@@ -1,6 +1,13 @@
|
||||

|
||||
|
||||
现已上架 [微软商店](https://apps.microsoft.com/store/detail/snap-hutao/9PH4NXJ2JN52)
|
||||
## 下载使用
|
||||
|
||||
[](https://apps.microsoft.com/store/detail/snap-hutao/9PH4NXJ2JN52)
|
||||
|
||||
## 贡献
|
||||
|
||||
* [向我们提交 PR](https://github.com/DGP-Studio/Snap.Hutao/pulls)
|
||||
* [在 Crowdin 上进行本地化](https://crowdin.com/project/snap-hutao)
|
||||
|
||||
## 特别感谢
|
||||
|
||||
|
||||
@@ -39,6 +39,8 @@ internal class GachaInfoClient
|
||||
public async Task<Response<GachaLogPage>> GetGachaLogPageAsync(GachaLogConfigration config, CancellationToken token = default)
|
||||
{
|
||||
string query = config.AsQuery();
|
||||
|
||||
// TODO: fix oversea behavior
|
||||
string url = query.Contains("hoyoverse.com")
|
||||
? ApiOsEndpoints.GachaInfoGetGachaLog(query)
|
||||
: ApiEndpoints.GachaInfoGetGachaLog(query);
|
||||
|
||||
@@ -47,6 +47,11 @@ public struct GachaLogConfigration
|
||||
EndId = endId;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 是否为国际服
|
||||
/// </summary>
|
||||
public bool IsOversea { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 结束Id
|
||||
/// 控制API返回的分页
|
||||
|
||||
Reference in New Issue
Block a user