This commit is contained in:
aichy 2023-07-24 11:35:13 +08:00
parent c96b55a987
commit 71cdec7ec7
1 changed files with 0 additions and 5 deletions

View File

@ -65,15 +65,10 @@ func (sc *SearchController) Search(ctx *gin.Context) {
}
}
<<<<<<< HEAD
resp, total, err := sc.searchService.Search(ctx, &dto)
=======
resp, total, extra, err := sc.searchService.Search(ctx, &dto)
if !isAdmin {
sc.actionService.ActionRecordAdd(ctx, entity.CaptchaActionSearch, unit)
}
>>>>>>> feat/1.1.1/ai
handler.HandleResponse(ctx, err, schema.SearchListResp{
Total: total,
SearchResp: resp,