Merge branch 'main' of http://git.ts.e57.cn/chfei/29WxOrder
This commit is contained in:
commit
707efc1723
3 files changed
+4
-3
No files matched your search
@@ -46,6 +46,7 @@ using Work._29Tools.BLL;
|
|||||||
using Work._29Tools.Forms.UserForms;
|
using Work._29Tools.Forms.UserForms;
|
||||||
using WxOrder.Framework.Commons;
|
using WxOrder.Framework.Commons;
|
||||||
using WxOrder.Framework.Commons.Dialogs;
|
using WxOrder.Framework.Commons.Dialogs;
|
||||||
|
using WxOrder.Framework.Helpers;
|
||||||
using static System.Windows.Forms.VisualStyles.VisualStyleElement;
|
using static System.Windows.Forms.VisualStyles.VisualStyleElement;
|
||||||
using static System.Windows.Forms.VisualStyles.VisualStyleElement.StartPanel;
|
using static System.Windows.Forms.VisualStyles.VisualStyleElement.StartPanel;
|
||||||
|
|
||||||
@@ -609,7 +610,7 @@ namespace _29WxOrderWpf
|
|||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
LogSave.Add("TicketRealtimeStartError:" + ex);
|
NLogger.Instance.Error("TicketRealtimeStartError:" + ex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ namespace AllBase
|
|||||||
/// 版本ID
|
/// 版本ID
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
||||||
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 ServerUrl { get; set; } = "http://1.13.195.131:9000";
|
||||||
public static string DebugUrl { get; set; } = "http://localhost:9000";
|
public static string DebugUrl { get; set; } = "http://localhost:9000";
|
||||||
|
|||||||
@@ -372,7 +372,7 @@ public sealed class TicketApiService
|
|||||||
.ToList();
|
.ToList();
|
||||||
if (normalized.Count == 0)
|
if (normalized.Count == 0)
|
||||||
throw new ArgumentException("appIds 至少需要一个 APPID。", nameof(appIds));
|
throw new ArgumentException("appIds 至少需要一个 APPID。", nameof(appIds));
|
||||||
if (normalized.Count > 50)
|
if (normalized.Count > 500)
|
||||||
throw new ArgumentException("appIds 最多支持 50 个 APPID。", nameof(appIds));
|
throw new ArgumentException("appIds 最多支持 50 个 APPID。", nameof(appIds));
|
||||||
foreach (var appId in normalized)
|
foreach (var appId in normalized)
|
||||||
ValidateAppId(appId);
|
ValidateAppId(appId);
|
||||||
|
|||||||
Reference in new issue
Block a user