diff --git a/29WxOrderWpf/MainWindow.xaml.cs b/29WxOrderWpf/MainWindow.xaml.cs index a401d08..def6e9b 100644 --- a/29WxOrderWpf/MainWindow.xaml.cs +++ b/29WxOrderWpf/MainWindow.xaml.cs @@ -46,6 +46,7 @@ using Work._29Tools.BLL; using Work._29Tools.Forms.UserForms; using WxOrder.Framework.Commons; using WxOrder.Framework.Commons.Dialogs; +using WxOrder.Framework.Helpers; using static System.Windows.Forms.VisualStyles.VisualStyleElement; using static System.Windows.Forms.VisualStyles.VisualStyleElement.StartPanel; @@ -609,7 +610,7 @@ namespace _29WxOrderWpf } catch (Exception ex) { - LogSave.Add("TicketRealtimeStartError:" + ex); + NLogger.Instance.Error("TicketRealtimeStartError:" + ex); } } diff --git a/AllBase/BaseClass.cs b/AllBase/BaseClass.cs index 4331006..47a5aed 100644 --- a/AllBase/BaseClass.cs +++ b/AllBase/BaseClass.cs @@ -37,7 +37,7 @@ namespace AllBase /// 版本ID /// - public static int VersionCount = 336; + public static int VersionCount = 337; public static string ServerUrl { get; set; } = "http://1.13.195.131:9000"; public static string DebugUrl { get; set; } = "http://localhost:9000"; diff --git a/OrderSupportTicket/Services/TicketApiService.cs b/OrderSupportTicket/Services/TicketApiService.cs index 65a5230..fbee627 100644 --- a/OrderSupportTicket/Services/TicketApiService.cs +++ b/OrderSupportTicket/Services/TicketApiService.cs @@ -372,7 +372,7 @@ public sealed class TicketApiService .ToList(); if (normalized.Count == 0) throw new ArgumentException("appIds 至少需要一个 APPID。", nameof(appIds)); - if (normalized.Count > 50) + if (normalized.Count > 500) throw new ArgumentException("appIds 最多支持 50 个 APPID。", nameof(appIds)); foreach (var appId in normalized) ValidateAppId(appId);