From 0943e99e751ad9e77c5b8d407812528e5707453e Mon Sep 17 00:00:00 2001 From: shiziyuan9527 Date: Wed, 20 Apr 2022 14:27:57 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E9=85=8D=E9=A2=9D=E7=AE=A1=E7=90=86):=20?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95=E6=95=B0=E9=87=8F=E9=85=8D?= =?UTF-8?q?=E9=A2=9D=E6=A3=80=E6=9F=A5=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1012443 --user=李玉号 【系统设置】系统设置-工作空间-配额管理,接口测试数量未超过配额限制,添加场景/接口时提示超过限额 https://www.tapd.cn/55049933/s/1140714 --- .../java/io/metersphere/api/service/ApiAutomationService.java | 1 - .../java/io/metersphere/api/service/ApiDefinitionService.java | 1 - 2 files changed, 2 deletions(-) diff --git a/backend/src/main/java/io/metersphere/api/service/ApiAutomationService.java b/backend/src/main/java/io/metersphere/api/service/ApiAutomationService.java index 20440d81f8..27913c0cd6 100644 --- a/backend/src/main/java/io/metersphere/api/service/ApiAutomationService.java +++ b/backend/src/main/java/io/metersphere/api/service/ApiAutomationService.java @@ -342,7 +342,6 @@ public class ApiAutomationService { } public ApiScenario update(SaveApiScenarioRequest request, List bodyFiles, List scenarioFiles) { - checkQuota(); checkNameExist(request); checkScenarioNum(request); diff --git a/backend/src/main/java/io/metersphere/api/service/ApiDefinitionService.java b/backend/src/main/java/io/metersphere/api/service/ApiDefinitionService.java index ef91c0c94d..d8cdb3d23f 100644 --- a/backend/src/main/java/io/metersphere/api/service/ApiDefinitionService.java +++ b/backend/src/main/java/io/metersphere/api/service/ApiDefinitionService.java @@ -334,7 +334,6 @@ public class ApiDefinitionService { } public ApiDefinitionWithBLOBs update(SaveApiDefinitionRequest request, List bodyFiles) { - checkQuota(); if (request.getRequest() != null) { deleteFileByTestId(request.getRequest().getId()); }