diff --git a/app/mix/service/apiservice.go b/app/mix/service/apiservice.go index 81f4f2b3..0b00a9fc 100644 --- a/app/mix/service/apiservice.go +++ b/app/mix/service/apiservice.go @@ -1685,7 +1685,9 @@ func (s *Service) ApiGetMomentList(ctx *gin.Context, req *momentproto.ApiListReq func (s *Service) ApiGetMomentListByMid(ctx *gin.Context, req *momentproto.ApiListByMidReq) (voList []*momentproto.ApiMomentVO, ec errcode.ErrCode) { ec = errcode.ErrCodeMomentSrvOk - req.Mid = goproto.Int64(req.BaseRequest.Mid) + if req.Mid == nil { + req.Mid = goproto.Int64(req.BaseRequest.Mid) + } list, err := _DefaultMoment.OpListByMid(ctx, &momentproto.OpListByMidReq{ Mid: req.Mid,