pull/131/head
Gordon 3 years ago
parent f582967711
commit bd0596dd86

@ -150,6 +150,7 @@ func (s *userServer) DeleteUsers(_ context.Context, req *pbUser.DeleteUsersReq)
for _, userID := range req.DeleteUserIDList { for _, userID := range req.DeleteUserIDList {
err := imdb.DeleteUser(userID) err := imdb.DeleteUser(userID)
if err != nil { if err != nil {
log.NewError(req.OperationID, "delete user error", userID)
common.ErrCode = 201 common.ErrCode = 201
common.ErrMsg = "some uid deleted failed" common.ErrMsg = "some uid deleted failed"
resp.FailedUserIDList = append(resp.FailedUserIDList, userID) resp.FailedUserIDList = append(resp.FailedUserIDList, userID)

Loading…
Cancel
Save