From 783365516afc1f72592bfaa4c46342e8a27170af Mon Sep 17 00:00:00 2001 From: denglihong2007 <98096191+denglihong2007@users.noreply.github.com> Date: Sat, 18 Oct 2025 21:08:43 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=8D=A2=E9=BB=98=E8=AE=A4=20?= =?UTF-8?q?API=20=E6=BA=90=E4=B8=BA=E9=95=9C=E5=83=8F=E7=AB=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CRSim.Core/Models/Settings.cs | 2 +- CRSim/ViewModels/SettingsPageViewModel.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CRSim.Core/Models/Settings.cs b/CRSim.Core/Models/Settings.cs index d91500c..2156207 100644 --- a/CRSim.Core/Models/Settings.cs +++ b/CRSim.Core/Models/Settings.cs @@ -20,7 +20,7 @@ namespace CRSim.Core.Models public TimeSpan StopDisplayFromArrivalDuration { get; set; } = TimeSpan.FromMinutes(10); public TimeSpan StopCheckInAdvanceDuration { get; set; } = TimeSpan.FromMinutes(2); - public IApi Api { get; set; } = new ApiFactory().CreateApi("官方站"); + public IApi Api { get; set; } = new ApiFactory().CreateApi("镜像站"); public int MaxPages { get; set; } = 3; public int SwitchPageSeconds { get; set; } = 20; public string UserKey { get; set; } = ""; diff --git a/CRSim/ViewModels/SettingsPageViewModel.cs b/CRSim/ViewModels/SettingsPageViewModel.cs index 98a51b9..667d0f6 100644 --- a/CRSim/ViewModels/SettingsPageViewModel.cs +++ b/CRSim/ViewModels/SettingsPageViewModel.cs @@ -195,7 +195,7 @@ namespace CRSim.ViewModels } catch (Exception e) { - await _dialogService.ShowTextAsync("错误", "更新失败。\n" + e); + await _dialogService.ShowTextAsync("错误", "更新失败。若使用“官方站”,可尝试更换到“镜像站”。\n" + e); UpdateProgress = 0; return; }