by Robin at 20240204; moment list by mid
This commit is contained in:
parent
9297aa8fbd
commit
e8eabcc42e
|
@ -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
|
||||
|
||||
if req.Mid == nil {
|
||||
req.Mid = goproto.Int64(req.BaseRequest.Mid)
|
||||
}
|
||||
|
||||
list, err := _DefaultMoment.OpListByMid(ctx, &momentproto.OpListByMidReq{
|
||||
Mid: req.Mid,
|
||||
|
|
Loading…
Reference in New Issue