diff --git a/BBWY.Client/ViewModels/Setting/ShopSettingViewModel.cs b/BBWY.Client/ViewModels/Setting/ShopSettingViewModel.cs index ddf919fe..9c8c108e 100644 --- a/BBWY.Client/ViewModels/Setting/ShopSettingViewModel.cs +++ b/BBWY.Client/ViewModels/Setting/ShopSettingViewModel.cs @@ -147,6 +147,14 @@ namespace BBWY.Client.ViewModels MessageBox.Show("店铺密码验证未通过", "保存店铺设置"); return; } + + if (PurchaseAccount.PurchasePlatformId == Platform.拳探) + { + PurchaseAccount.AppKey = "BBWY2023022001"; + PurchaseAccount.AppSecret = "908e131365d5448ca651ba20ed7ddefe"; + PurchaseAccount.AppToken = PurchaseAccount.AccountName; + } + if (string.IsNullOrEmpty(PurchaseAccount.AppKey) || string.IsNullOrEmpty(PurchaseAccount.AppSecret) || string.IsNullOrEmpty(PurchaseAccount.AppToken) || diff --git a/BBWY.Client/Views/Setting/ShopSetting.xaml b/BBWY.Client/Views/Setting/ShopSetting.xaml index 852e73e6..e450b056 100644 --- a/BBWY.Client/Views/Setting/ShopSetting.xaml +++ b/BBWY.Client/Views/Setting/ShopSetting.xaml @@ -88,45 +88,63 @@ Foreground="{Binding PanelIndex,Converter={StaticResource objConverter},ConverterParameter=2:White:#4A4A4A}"/> - - - - - - - - - - - - - - - - + + + + + + + + - - + + + + + + + - - + + + + + + + - - + + + + + + + - - + + + + + + - + +