正在显示
2 个修改的文件
包含
2 行增加
和
2 行删除
@@ -32,7 +32,7 @@ func (l *MiniMyBeLikedLogic) MiniMyBeLiked(req *types.MiniBeLikedRequest) (resp | @@ -32,7 +32,7 @@ func (l *MiniMyBeLikedLogic) MiniMyBeLiked(req *types.MiniBeLikedRequest) (resp | ||
32 | 32 | ||
33 | total, list, err := l.svcCtx.UserLoveFlagRepository.Find(l.ctx, conn, domain.NewQueryOptions(). | 33 | total, list, err := l.svcCtx.UserLoveFlagRepository.Find(l.ctx, conn, domain.NewQueryOptions(). |
34 | WithOffsetLimit(req.Page, req.Size). | 34 | WithOffsetLimit(req.Page, req.Size). |
35 | - WithKV("companyId", userToken.CompanyId). | 35 | + //WithKV("companyId", userToken.CompanyId). 不存在字段 |
36 | WithKV("toUserId", userToken.UserId)) | 36 | WithKV("toUserId", userToken.UserId)) |
37 | if err != nil { | 37 | if err != nil { |
38 | return nil, err | 38 | return nil, err |
@@ -32,7 +32,7 @@ func (l *MiniMyLikeLogic) MiniMyLike(req *types.MiniMyLikeRequest) (resp *types. | @@ -32,7 +32,7 @@ func (l *MiniMyLikeLogic) MiniMyLike(req *types.MiniMyLikeRequest) (resp *types. | ||
32 | 32 | ||
33 | total, list, err := l.svcCtx.UserLoveFlagRepository.Find(l.ctx, conn, domain.NewQueryOptions(). | 33 | total, list, err := l.svcCtx.UserLoveFlagRepository.Find(l.ctx, conn, domain.NewQueryOptions(). |
34 | WithOffsetLimit(req.Page, req.Size). | 34 | WithOffsetLimit(req.Page, req.Size). |
35 | - WithKV("companyId", userToken.CompanyId). | 35 | + //WithKV("companyId", userToken.CompanyId). 不存在公司id |
36 | WithKV("userId", userToken.UserId)) | 36 | WithKV("userId", userToken.UserId)) |
37 | if err != nil { | 37 | if err != nil { |
38 | return nil, err | 38 | return nil, err |
-
请 注册 或 登录 后发表评论