Commit 6ac8ea0a by 墨竹

Merge branch 'feature/login-token' into developer

parents 4289ac92 a09fc8ae
...@@ -74,7 +74,7 @@ public class StaffServiceImpl implements StaffService { ...@@ -74,7 +74,7 @@ public class StaffServiceImpl implements StaffService {
} }
String corpid = tabHaobanWxEnterprise.getCorpid(); String corpid = tabHaobanWxEnterprise.getCorpid();
log.info("corpid:{}", corpid); log.info("corpid:{}", corpid);
if (corpid.length() > 20) { if (corpid.length() > 20 && userId.length() == 32) {
return mapper.selectByOpenUserIdAndEnterpriseId(userId, wxEnterpriseId); return mapper.selectByOpenUserIdAndEnterpriseId(userId, wxEnterpriseId);
} else { } else {
return mapper.selectByUserIdAndEnterpriseId(userId, wxEnterpriseId); return mapper.selectByUserIdAndEnterpriseId(userId, wxEnterpriseId);
......
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