From 6bef82df447efb08d05ad3d0c45585ef9b0acdb7 Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期五, 01 十一月 2024 16:48:35 +0800 Subject: [PATCH] 支持 feign 处理 content-type [text/plain] 返回内容 --- jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/call/CallController.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/call/CallController.java b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/call/CallController.java index db75928..ccd625e 100644 --- a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/call/CallController.java +++ b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/call/CallController.java @@ -50,7 +50,8 @@ @PutMapping("/update") @Operation(summary = "鏇存柊鍙彿") - @PreAuthorize("@ss.hasPermission('ecg:call:update')") + //@PreAuthorize("@ss.hasPermission('ecg:call:update')") + @PermitAll public CommonResult<Boolean> updateCall(@Valid @RequestBody CallSaveReqVO updateReqVO) { callService.updateCall(updateReqVO); return success(true); -- Gitblit v1.9.3