Commit 48493079 by 墨竹

Merge branch 'fixbug_0720' into developer

parents 8f1d8ea0 be29a4d2
......@@ -321,7 +321,8 @@ public class StaffApiServiceImpl implements StaffApiService {
String staffThirdWxEnterpriseId = config.getStaffThirdWxEnterpriseId();
UserDTO user = null;
if (staffThirdWxEnterpriseId.contains(corpid)) {
user = qywxUserApiService.getWorkWxUser(corpid, config.getWxSuiteid(), userId);
UserDTO userThird = qywxUserApiService.getWorkWxUser(corpid, config.getWxSuiteid(), userId);
user = qywxUserApiService.getSelfWorkWxUser(corpid, secretSetting.getSecretVal(), userThird.getOpen_userid());
} 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