mirror of
https://github.com/denglihong2007/CRSim
synced 2026-08-11 04:05:36 +08:00
feat: 更换默认 API 源为镜像站
This commit is contained in:
@@ -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; } = "";
|
||||
|
||||
@@ -195,7 +195,7 @@ namespace CRSim.ViewModels
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
await _dialogService.ShowTextAsync("错误", "更新失败。\n" + e);
|
||||
await _dialogService.ShowTextAsync("错误", "更新失败。若使用“官方站”,可尝试更换到“镜像站”。\n" + e);
|
||||
UpdateProgress = 0;
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user