From ef839d119eec2c28fac5f5ba175d71f926afae44 Mon Sep 17 00:00:00 2001 From: kazelee <1847801760@qq.com> Date: 星期二, 20 五月 2025 11:49:22 +0800 Subject: [PATCH] 修复数据库表字段不匹配、读取重量错误处理等逻辑 --- AppStart/Settings.cs | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/AppStart/Settings.cs b/AppStart/Settings.cs index 2b8a254..9f0a7ad 100644 --- a/AppStart/Settings.cs +++ b/AppStart/Settings.cs @@ -19,12 +19,18 @@ /// </summary> public static Dictionary<string, List<string>> AreaMap { get; set; } = new Dictionary<string, List<string>>(); + //public static Snap Snap { get; set; } + public static string CaptureUrl { get; set; } + public static void Init() { // 鍔犺浇閰嶇疆鏂囦欢 LoadJson(); // 閽堝 Areas 杩涜杞崲锛氬皢 Config 鐨�List 鍔犺浇鍒�Dict 涓� LoadAreas(); + + //Snap = Config.Snap[0]; // 鐩墠鏈」鐩彧鏈変竴涓浉鏈�+ CaptureUrl = Config.CaptureUrl; // 淇濆瓨鍥剧墖鐨勬牴鐩綍 } private static void LoadJson() { -- Gitblit v1.9.1