Commit 0e9714f4 by 墨竹

Merge branch 'fixbug_0720' into developer

parents b7ca6282 b2978f29
......@@ -131,8 +131,9 @@ public class MessageApiServiceImpl implements MessageApiService {
QywxCallBackDTO dto = JSON.parseObject(param, QywxCallBackDTO.class);
log.info("【成员部门同步回调处理】dto={}", JSON.toJSONString(param));
String suiteId = dto.getSuiteId();
String authCorpId = dto.getAuthCorpId();
String staffThirdWxEnterpriseId = config.getStaffThirdWxEnterpriseId();
if (staffThirdWxEnterpriseId.contains(suiteId)) {
if (staffThirdWxEnterpriseId.contains(authCorpId)) {
//处理部门
dealQywxThirdDepartment(dto);
//处理成员
......
......@@ -322,7 +322,7 @@ public class StaffApiServiceImpl implements StaffApiService {
UserDTO user = null;
if (staffThirdWxEnterpriseId.contains(corpid)) {
UserDTO userThird = qywxUserApiService.getWorkWxUser(corpid, config.getWxSuiteid(), userId);
user = qywxUserApiService.getSelfWorkWxUser(corpid, secretSetting.getSecretVal(), userThird.getOpen_userid());
user = qywxUserApiService.getSelfWorkWxUser(corpid, secretSetting.getSecretVal(), userThird.getUserid());
} else {
user = qywxUserApiService.getSelfWorkWxUser(corpid, secretSetting.getSecretVal(), userId);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment