增加资产,授权凭证,指令分页查询的错误判断

This commit is contained in:
dushixiang
2021-01-26 22:33:40 +08:00
parent 6ad1da14ba
commit 807d24ccd8
3 changed files with 12 additions and 3 deletions

View File

@ -44,7 +44,10 @@ func AssetPagingEndpoint(c echo.Context) error {
userGroupId := c.QueryParam("userGroupId")
account, _ := GetCurrentAccount(c)
items, total, _ := model.FindPageAsset(pageIndex, pageSize, name, protocol, tags, account, owner, sharer, userGroupId)
items, total, err := model.FindPageAsset(pageIndex, pageSize, name, protocol, tags, account, owner, sharer, userGroupId)
if err != nil {
return err
}
return Success(c, H{
"total": total,