diff --git a/HKCardOUT/Views/AdWindow.xaml.cs b/HKCardOUT/Views/AdWindow.xaml.cs index 5fa7a5c..596acbe 100644 --- a/HKCardOUT/Views/AdWindow.xaml.cs +++ b/HKCardOUT/Views/AdWindow.xaml.cs @@ -28,10 +28,13 @@ namespace HKCardOUT.Views public async void InitView2(string input) { + StringBuilder sb = new StringBuilder(); + sb.Append($"{input}"); + var html = sb.ToString(); await view2.EnsureCoreWebView2Async(null); view2.CoreWebView2.Settings.AreDefaultContextMenusEnabled = false; view2.CoreWebView2.Settings.AreDevToolsEnabled = false; - view2.CoreWebView2.NavigateToString("
hello world
"); + view2.CoreWebView2.NavigateToString(html); } } } diff --git a/HKCardOUT/options.json b/HKCardOUT/options.json index 672bb43..804e359 100644 --- a/HKCardOUT/options.json +++ b/HKCardOUT/options.json @@ -4,7 +4,7 @@ //定时任务时间表达式 "Cron": "0 0 11,15 * * ? ", //店铺ID - "StoreId": "0ff87696-957b-475a-9dbf-41eae349dab4", + "StoreId": "a19535e8-119f-4b10-a011-6288fd3ddb37", "ConnectionStrings": { "Sqlite": "HKSQL.db3" }