Merge pull request 'by Robin at 20240204; moment list by mid' (#91) from feat-IRONFANS-40-20240125-Robin into test

Reviewed-on: #91
This commit is contained in:
chenhao 2024-02-04 08:06:16 +08:00
commit 0d0f51902e
1 changed files with 3 additions and 1 deletions

View File

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