提交 bbe8ac88 编写于 作者: nancy's avatar nancy

admin处理补充。

上级 c966ea0d
...@@ -179,6 +179,8 @@ public class LdapUserService extends ServiceImpl<IBZUSERMapper, IBZUSER> impleme ...@@ -179,6 +179,8 @@ public class LdapUserService extends ServiceImpl<IBZUSERMapper, IBZUSER> impleme
* @param user * @param user
*/ */
private void setUserOrgInfo(AuthenticationUser user) { private void setUserOrgInfo(AuthenticationUser user) {
if( 1==user.getSuperuser())
return ;
Map<String, Set<String>> orgInfo = ouFeignClient.getOUMapsByUserId(user.getUserid()); Map<String, Set<String>> orgInfo = ouFeignClient.getOUMapsByUserId(user.getUserid());
if (orgInfo == null) if (orgInfo == null)
......
...@@ -77,8 +77,8 @@ public class UserDingtalkRegisterService { ...@@ -77,8 +77,8 @@ public class UserDingtalkRegisterService {
if(isExpire()) { if(isExpire()) {
DefaultDingTalkClient client = new DefaultDingTalkClient("https://oapi.dingtalk.com/gettoken"); DefaultDingTalkClient client = new DefaultDingTalkClient("https://oapi.dingtalk.com/gettoken");
OapiGettokenRequest request = new OapiGettokenRequest(); OapiGettokenRequest request = new OapiGettokenRequest();
request.setAppkey("appKey"); request.setAppkey(appKey);
request.setAppsecret("appSecret"); request.setAppsecret(appSecret);
request.setHttpMethod("GET"); request.setHttpMethod("GET");
try { try {
OapiGettokenResponse response = client.execute(request); OapiGettokenResponse response = client.execute(request);
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册