...
|
...
|
@@ -477,7 +477,7 @@ func UserDelete(userCompanyids []int64, companyid int64) error { |
|
|
ids []int64
|
|
|
)
|
|
|
for _, v := range updateIds {
|
|
|
if v.Id == companyInfo.AdminId {
|
|
|
if v.UserId == companyInfo.AdminId {
|
|
|
return protocol.NewErrWithMessage("10071")
|
|
|
}
|
|
|
ids = append(ids, v.Id)
|
...
|
...
|
|