This commit is contained in:
Daniel 2024-03-06 16:30:58 +08:00
parent f0efd8ac67
commit b6c2c829b1
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
2 changed files with 24 additions and 3 deletions

View file

@ -37,8 +37,8 @@ func searchTableView(c *gin.Context) {
avID := arg["avID"].(string)
viewID := arg["viewID"].(string)
keyword := arg["keyword"].(string)
view, attrView, err := model.SearchTableView(avID, viewID, keyword)
query := arg["query"].(string)
view, attrView, err := model.SearchTableView(avID, viewID, query)
if nil != err {
ret.Code = -1
ret.Msg = err.Error()