Commit d489982d by 徐高华

企微操作日志

parent 74b5e1a4
...@@ -120,7 +120,7 @@ public class OpenStaffApiServiceImpl implements OpenStaffApiService { ...@@ -120,7 +120,7 @@ public class OpenStaffApiServiceImpl implements OpenStaffApiService {
return ServiceResponse.failure("9999","登录错误") ; return ServiceResponse.failure("9999","登录错误") ;
} }
TabOpenStaff staff = this.openStaffMapper.getByQwUserId(qwUserId) ; TabOpenStaff staff = this.openStaffMapper.getByQwUserId(qwUserId) ;
if(null != staff && staff.getWxEnterpriseId().equals(wxEnterpriseId)) { if(null != staff && !staff.getWxEnterpriseId().equals(wxEnterpriseId)) {
this.openStaffService.logout(uuid,"只能托管一个企微企业",0 , null); this.openStaffService.logout(uuid,"只能托管一个企微企业",0 , null);
log.info("只能托管一个企业={},{}",uuid,corpName); log.info("只能托管一个企业={},{}",uuid,corpName);
return ServiceResponse.failure("9999","只能托管一个企业") ; return ServiceResponse.failure("9999","只能托管一个企业") ;
......
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