diff --git a/user/user.go b/user/user.go index a2a13f3a..8cc83505 100644 --- a/user/user.go +++ b/user/user.go @@ -199,7 +199,7 @@ func (x *GetUserStatusReq) Check() error { if x.UserIDs == nil { return errors.New("user-list is empty") } - if len(x.UserIDs) > constant.MaxUsersStatusList { + if len(x.UserIDs) > constant.ParamMaxLength { return errors.New("user-list is Limit Exceeded") } return nil