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:
commit
0d0f51902e
|
@ -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
|
||||
|
||||
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