Compare commits

..

No commits in common. "8d56d8f9eb1f549c59295dcba765a4544384f2ca" and "00b3d4cf5f852fae483baf6903e78abbff5d8203" have entirely different histories.

3 changed files with 4 additions and 25 deletions

View File

@ -7,7 +7,6 @@ import com.jjb.saas.system.client.user.request.*;
import lombok.RequiredArgsConstructor;
import org.apache.dubbo.config.annotation.DubboReference;
import org.qinan.safetyeval.domain.exception.BizException;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
import java.util.ArrayList;
@ -20,20 +19,12 @@ public class GbsUserFacadeClient {
@DubboReference(protocol = "dubbo", url = "${safety-eval.gbs-user-sync.user-facade-url:}")
private UserFacade userFacade;
@Value("${auth.deptId.org}")
private Long deptId;
@Value("${auth.roleId.org}")
private Long roleId;
public void add(UserAddCmd cmd) {
//2069596397920849920{key: "1782463085576", deptId: "2069596397920849920", roleId: "2069671307598893058"}
List<RoleDeptAddCmd> list = new ArrayList<>();
RoleDeptAddCmd roleDeptAddCmd = new RoleDeptAddCmd();
roleDeptAddCmd.setDeptId(deptId);
roleDeptAddCmd.setRoleId(roleId);
roleDeptAddCmd.setDeptId(2069596397920849920L);
roleDeptAddCmd.setRoleId(2069671307598893058L);
list.add(roleDeptAddCmd);
cmd.setRoleDepts(list);
SingleResponse<Long> singleResponse = userFacade.add(cmd);

View File

@ -64,10 +64,4 @@ openapi:
sms:
sign:
sourceCode: MS000151
auth:
deptId:
org: 2069624650907299840
roleId:
org: 2069630661722419201
sourceCode: MS000151

View File

@ -65,10 +65,4 @@ openapi:
sms:
sign:
sourceCode: MS000146
auth:
deptId:
org: 2069596397920849920
roleId:
org: 2069671307598893058
sourceCode: MS000146