Skip to content

Commit

Permalink
纠正注释
Browse files Browse the repository at this point in the history
  • Loading branch information
liu-cn committed May 12, 2022
1 parent 68dfeaa commit e05d51d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion searcher/model/search.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type SearchRequest struct {
Order string `json:"order,omitempty"` // 排序类型
Page int `json:"page,omitempty"` // 页码
Limit int `json:"limit,omitempty"` // 每页大小,最大1000,超过报错
Highlight *Highlight `json:"highlight,omitempty"` // 关键词高了
Highlight *Highlight `json:"highlight,omitempty"` // 关键词高亮
}

func (s *SearchRequest) GetAndSetDefault() *SearchRequest {
Expand Down

0 comments on commit e05d51d

Please sign in to comment.