From 75a588adbc14de376016c290bd1c1666b9535184 Mon Sep 17 00:00:00 2001 From: even <827656971@qq.com> Date: Mon, 12 May 2025 19:14:37 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E4=BF=AE=E6=94=B9=EF=BC=8Cpe?= =?UTF-8?q?rmitAll=E6=B7=BB=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/cd/casic/server/controller/StageController.java | 1 + ops-server/src/main/resources/application.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/ops-server/src/main/java/cd/casic/server/controller/StageController.java b/ops-server/src/main/java/cd/casic/server/controller/StageController.java index e3a365b..c21fbe2 100644 --- a/ops-server/src/main/java/cd/casic/server/controller/StageController.java +++ b/ops-server/src/main/java/cd/casic/server/controller/StageController.java @@ -291,6 +291,7 @@ public class StageController { * @pi.request-type:json * @pi.param: model=stage */ + @PermitAll @RequestMapping(path="/updateStageName",method = RequestMethod.POST) public CommonResult updateTasksStage(@RequestBody @Valid @NotNull StageReq stage){ // stageService.updateStageName(stage); diff --git a/ops-server/src/main/resources/application.yaml b/ops-server/src/main/resources/application.yaml index 93dcd4e..8c763b9 100644 --- a/ops-server/src/main/resources/application.yaml +++ b/ops-server/src/main/resources/application.yaml @@ -145,6 +145,7 @@ ops: ignore-urls: - /admin-api/system/tenant/get-id-by-name # 基于名字获取租户,不许带租户编号 - /admin-api/system/tenant/get-by-website # 基于域名获取租户,不许带租户编号 + - /admin-api/system/auth/register # 注册 ignore-tables: - system_tenant - system_tenant_package