正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -28,7 +28,7 @@ func (l *SearchTagLogic) SearchTag(req *types.TagListRequest) (resp *types.TagLi | @@ -28,7 +28,7 @@ func (l *SearchTagLogic) SearchTag(req *types.TagListRequest) (resp *types.TagLi | ||
28 | queryOptions := domain.NewQueryOptions().WithOffsetLimit(req.Page, req.Size) | 28 | queryOptions := domain.NewQueryOptions().WithOffsetLimit(req.Page, req.Size) |
29 | 29 | ||
30 | if len(req.Category) > 0 { | 30 | if len(req.Category) > 0 { |
31 | - queryOptions = queryOptions.MustWithKV("group", "%"+req.Category+"%") | 31 | + queryOptions = queryOptions.MustWithKV("category", "%"+req.Category+"%") |
32 | } | 32 | } |
33 | if len(req.TagName) > 0 { | 33 | if len(req.TagName) > 0 { |
34 | queryOptions = queryOptions.MustWithKV("name", "%"+req.TagName+"%") | 34 | queryOptions = queryOptions.MustWithKV("name", "%"+req.TagName+"%") |
-
请 注册 或 登录 后发表评论