From 59d6e51cdb7fbb0073ed29bf0b3f34277f75b895 Mon Sep 17 00:00:00 2001 From: shanji <18996038927@163.com> Date: Thu, 30 Mar 2023 17:09:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8B=B3=E6=8E=A2=E9=87=87=E8=B4=AD=E8=B4=A6?= =?UTF-8?q?=E5=8F=B7=E9=BB=98=E8=AE=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Setting/ShopSettingViewModel.cs | 8 +++ BBWY.Client/Views/Setting/ShopSetting.xaml | 68 ++++++++++++------- 2 files changed, 51 insertions(+), 25 deletions(-) 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}"/> - - - - - - - - - - - - - - - - + + + + + + + + - - + + + + + + + - - + + + + + + + - - + + + + + + + - - + + + + + + - + +