diff --git a/src/MaaWpfGui/Services/Web/MaaApiService.cs b/src/MaaWpfGui/Services/Web/MaaApiService.cs index 9dcabe018f..9b2677b82d 100644 --- a/src/MaaWpfGui/Services/Web/MaaApiService.cs +++ b/src/MaaWpfGui/Services/Web/MaaApiService.cs @@ -33,7 +33,8 @@ public class MaaApiService : IMaaApiService private async Task<(bool Cached, JObject? Response)> RequestWithFallback(string api, string primaryBaseUrl, string? fallbackBaseUrl = null, bool allowFallbackToCache = true) { - var result = await TryRequest(api, primaryBaseUrl, allowFallbackToCache); + // 没有备用地址才会直接使用缓存 + var result = await TryRequest(api, primaryBaseUrl, string.IsNullOrEmpty(fallbackBaseUrl) && allowFallbackToCache); if (result.Response != null || string.IsNullOrEmpty(fallbackBaseUrl)) { return result;