diff --git a/app/mix/service/apiservice.go b/app/mix/service/apiservice.go index 5c3b987d..4ad20377 100644 --- a/app/mix/service/apiservice.go +++ b/app/mix/service/apiservice.go @@ -1683,7 +1683,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,