...
|
...
|
@@ -595,7 +595,7 @@ func CompaniesLoginByCredential(header *protocol.RequestHeader, request *protoco |
|
|
rsp.Partner.(map[string]interface{})["companys"] = []struct{}{}
|
|
|
}
|
|
|
|
|
|
if !loginSvr.HasAvailableCompany {
|
|
|
if !loginSvr.HasAvailableCompany && !loginSvr.HasAvailableManagerCompany {
|
|
|
err = protocol.NewErrWithMessage(4140, err) //账号禁用
|
|
|
return
|
|
|
}
|
...
|
...
|
|