mirror of
https://jihulab.com/DGP-Studio/Snap.Hutao.git
synced 2025-11-19 21:02:53 +08:00
fix cn login
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
using Microsoft.EntityFrameworkCore.Design;
|
using Microsoft.EntityFrameworkCore.Design;
|
||||||
using Snap.Hutao.Model.Entity.Database;
|
using Snap.Hutao.Model.Entity.Database;
|
||||||
|
|
||||||
namespace Snap.Hutao.Context.Database;
|
namespace Snap.Hutao.Model.Entity.Database;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 此类只用于在生成迁移时提供数据库上下文
|
/// 此类只用于在生成迁移时提供数据库上下文
|
||||||
|
|||||||
@@ -11,9 +11,9 @@
|
|||||||
xmlns:shcb="using:Snap.Hutao.Control.Behavior"
|
xmlns:shcb="using:Snap.Hutao.Control.Behavior"
|
||||||
xmlns:shci="using:Snap.Hutao.Control.Image"
|
xmlns:shci="using:Snap.Hutao.Control.Image"
|
||||||
xmlns:shcm="using:Snap.Hutao.Control.Markup"
|
xmlns:shcm="using:Snap.Hutao.Control.Markup"
|
||||||
xmlns:shv="using:Snap.Hutao.ViewModel"
|
|
||||||
xmlns:shvc="using:Snap.Hutao.View.Control"
|
xmlns:shvc="using:Snap.Hutao.View.Control"
|
||||||
d:DataContext="{d:DesignInstance shv:SpiralAbyssRecordViewModel}"
|
xmlns:shvs="using:Snap.Hutao.ViewModel.SpiralAbyss"
|
||||||
|
d:DataContext="{d:DesignInstance shvs:SpiralAbyssRecordViewModel}"
|
||||||
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"
|
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"
|
||||||
mc:Ignorable="d">
|
mc:Ignorable="d">
|
||||||
|
|
||||||
@@ -305,16 +305,15 @@
|
|||||||
HorizontalAlignment="Center"
|
HorizontalAlignment="Center"
|
||||||
Style="{StaticResource SubtitleTextBlockStyle}"
|
Style="{StaticResource SubtitleTextBlockStyle}"
|
||||||
Text="{shcm:ResourceString Name=ViewSpiralAbyssDefaultDescription}"/>
|
Text="{shcm:ResourceString Name=ViewSpiralAbyssDefaultDescription}"/>
|
||||||
<StackPanel Margin="0,-36,0,0" HorizontalAlignment="Center">
|
<StackPanel Margin="0,24,0,0">
|
||||||
<clw:SettingsCard
|
<clw:SettingsCard
|
||||||
|
Command="{Binding RefreshCommand}"
|
||||||
Description="{shcm:ResourceString Name=ViewSpiralAbyssRefreshDescription}"
|
Description="{shcm:ResourceString Name=ViewSpiralAbyssRefreshDescription}"
|
||||||
Header="{shcm:ResourceString Name=ViewSpiralAbyssRefresh}"
|
Header="{shcm:ResourceString Name=ViewSpiralAbyssRefresh}"
|
||||||
HeaderIcon="{shcm:FontIcon Glyph=}">
|
HeaderIcon="{shcm:FontIcon Glyph=}"
|
||||||
<Button Command="{Binding RefreshCommand}" Content="{shcm:ResourceString Name=ViewSpiralAbyssRefreshAction}"/>
|
IsClickEnabled="True"/>
|
||||||
</clw:SettingsCard>
|
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</Grid>
|
</Grid>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
||||||
</shc:ScopedPage>
|
</shc:ScopedPage>
|
||||||
@@ -16,7 +16,7 @@ namespace Snap.Hutao.Web.Hoyolab.Passport;
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[HighQuality]
|
[HighQuality]
|
||||||
[UseDynamicSecret]
|
[UseDynamicSecret]
|
||||||
[HttpClient(HttpClientConfiguration.Default)]
|
[HttpClient(HttpClientConfiguration.XRpc2)]
|
||||||
internal sealed class PassportClient
|
internal sealed class PassportClient
|
||||||
{
|
{
|
||||||
private readonly HttpClient httpClient;
|
private readonly HttpClient httpClient;
|
||||||
|
|||||||
Reference in New Issue
Block a user