完成资产隔离
This commit is contained in:
@ -33,9 +33,11 @@ func AssetPagingEndpoint(c echo.Context) error {
|
||||
name := c.QueryParam("name")
|
||||
protocol := c.QueryParam("protocol")
|
||||
tags := c.QueryParam("tags")
|
||||
owner := c.QueryParam("owner")
|
||||
sharer := c.QueryParam("sharer")
|
||||
|
||||
account, _ := GetCurrentAccount(c)
|
||||
items, total, _ := model.FindPageAsset(pageIndex, pageSize, name, protocol, tags, account)
|
||||
items, total, _ := model.FindPageAsset(pageIndex, pageSize, name, protocol, tags, account, owner, sharer)
|
||||
|
||||
return Success(c, H{
|
||||
"total": total,
|
||||
|
Reference in New Issue
Block a user