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); }