by Robin at 20240204; moment list by mid

This commit is contained in:
Leufolium 2024-02-04 08:04:13 +08:00
parent 9297aa8fbd
commit e8eabcc42e
1 changed files with 3 additions and 1 deletions

View File

@ -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,