作者 郑周

1 修复BUG

... ... @@ -32,7 +32,7 @@ func (l *MiniMyBeLikedLogic) MiniMyBeLiked(req *types.MiniBeLikedRequest) (resp
total, list, err := l.svcCtx.UserLoveFlagRepository.Find(l.ctx, conn, domain.NewQueryOptions().
WithOffsetLimit(req.Page, req.Size).
WithKV("companyId", userToken.CompanyId).
//WithKV("companyId", userToken.CompanyId). 不存在字段
WithKV("toUserId", userToken.UserId))
if err != nil {
return nil, err
... ...
... ... @@ -32,7 +32,7 @@ func (l *MiniMyLikeLogic) MiniMyLike(req *types.MiniMyLikeRequest) (resp *types.
total, list, err := l.svcCtx.UserLoveFlagRepository.Find(l.ctx, conn, domain.NewQueryOptions().
WithOffsetLimit(req.Page, req.Size).
WithKV("companyId", userToken.CompanyId).
//WithKV("companyId", userToken.CompanyId). 不存在公司id
WithKV("userId", userToken.UserId))
if err != nil {
return nil, err
... ...