优化工单商铺数量限制
This commit is contained in:
1 parent
f6eef23f96
commit
324ca0c6e7
3 files changed
+33
-12
No files matched your search
@@ -372,8 +372,8 @@ public sealed class TicketApiService
|
||||
.ToList();
|
||||
if (normalized.Count == 0)
|
||||
throw new ArgumentException("appIds 至少需要一个 APPID。", nameof(appIds));
|
||||
if (normalized.Count > 500)
|
||||
throw new ArgumentException("appIds 最多支持 50 个 APPID。", nameof(appIds));
|
||||
//if (normalized.Count > 5000)
|
||||
// throw new ArgumentException("appIds 最多支持 50 个 APPID。", nameof(appIds));
|
||||
foreach (var appId in normalized)
|
||||
ValidateAppId(appId);
|
||||
return normalized;
|
||||
|
||||
Reference in new issue
Block a user