🀄 完善标签查询功能

This commit is contained in:
dushixiang
2021-01-06 20:29:48 +08:00
parent fbac4c7c2b
commit 1a3a4025d5
4 changed files with 82 additions and 10 deletions

View File

@ -29,8 +29,9 @@ func AssetPagingEndpoint(c echo.Context) error {
pageSize, _ := strconv.Atoi(c.QueryParam("pageSize"))
name := c.QueryParam("name")
protocol := c.QueryParam("protocol")
tags := c.QueryParam("tags")
items, total, _ := model.FindPageAsset(pageIndex, pageSize, name, protocol)
items, total, _ := model.FindPageAsset(pageIndex, pageSize, name, protocol, tags)
return Success(c, H{
"total": total,