From 532a3167a9a09eb12dd4cce3887bffef5a7daf82 Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Tue, 3 Feb 2026 12:14:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E9=80=81=E5=8A=A8=E6=80=81=E6=9D=83?= =?UTF-8?q?=E9=99=90=E6=96=B0=E5=A2=9E=E7=94=A8=E6=88=B7id=E5=AD=97?= =?UTF-8?q?=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../other/adapter/app/dynamic/DynamicRestController.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rc-service/rc-service-other/other-adapter/src/main/java/com/red/circle/other/adapter/app/dynamic/DynamicRestController.java b/rc-service/rc-service-other/other-adapter/src/main/java/com/red/circle/other/adapter/app/dynamic/DynamicRestController.java index 7c241448..e1be2346 100644 --- a/rc-service/rc-service-other/other-adapter/src/main/java/com/red/circle/other/adapter/app/dynamic/DynamicRestController.java +++ b/rc-service/rc-service-other/other-adapter/src/main/java/com/red/circle/other/adapter/app/dynamic/DynamicRestController.java @@ -1,6 +1,7 @@ package com.red.circle.other.adapter.app.dynamic; +import com.alibaba.nacos.common.utils.StringUtils; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import com.red.circle.common.business.dto.cmd.AppExtCommand; @@ -347,7 +348,10 @@ public class DynamicRestController extends BaseController { * @eo.request-type formdata */ @GetMapping("/check/send/permission") - public Boolean checkSendPermission(AppExtCommand cmd) { + public Boolean checkSendPermission(AppExtCommand cmd, Long userId) { + if (userId != null) { + cmd.setReqUserId(userId); + } return dynamicService.checkSendPermission2(cmd); }