作者 郑周

Merge branch 'dev' into test

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