diff --git a/HKCardOUT/ViewModels/RootViewModel.cs b/HKCardOUT/ViewModels/RootViewModel.cs index 4c9f75e..6ebab19 100644 --- a/HKCardOUT/ViewModels/RootViewModel.cs +++ b/HKCardOUT/ViewModels/RootViewModel.cs @@ -234,7 +234,7 @@ namespace HKCardOUT.ViewModels win.Show(); } } - catch + catch (Exception ex) { var win = new AdWindow("暂无广告"); var rectangle = System.Windows.Forms.Screen.AllScreens[0].WorkingArea; diff --git a/HKCardOUT/options.json b/HKCardOUT/options.json index 4ff3937..0c312b4 100644 --- a/HKCardOUT/options.json +++ b/HKCardOUT/options.json @@ -1,7 +1,7 @@ { //服务地址 "SaasRoute": "https://witt.black-pa.com/kitchen/", - "IsTest": true, + "IsTest": false, "COM": "COM3", //定时任务时间表达式 "Cron": "0 0 0/1 * * ? ",