diff --git a/app/mix/service/apiservice.go b/app/mix/service/apiservice.go index e0918a02..83820e75 100644 --- a/app/mix/service/apiservice.go +++ b/app/mix/service/apiservice.go @@ -1695,6 +1695,10 @@ func (s *Service) ApiCreateMoment(ctx *gin.Context, req *momentproto.ApiCreateRe req.Moment.Mid = goproto.Int64(req.BaseRequest.Mid) var accountpunishment *dbstruct.AccountPunishment if ec, accountpunishment = s.ApiCreateMomentBusinessValidate(ctx, req); ec != errcode.ErrCodeMomentSrvOk { + if ec == errcode.ErrCodeRolePrivilegesNotEnough { + ec = errcode.ErrCodeMomentNotAStreamer + return + } if ec == errcode.ErrCodeAccountPunishmentExist { if accountpunishment.IsPermanent() { ec = errcode.ErrCodeFunctionBlockedPermanently