feat: 切换console子模块到main分支

pull/376/head
zhangwenbing.zwb 1 year ago
parent d8fe47d493
commit 919f5bf560

1
.gitmodules vendored

@ -4,3 +4,4 @@
[submodule "resources/console"]
path = resources/console
url = git@github.com:textworld/sonic-console.git
branch = main

@ -1 +1 @@
Subproject commit 2ee6e173ee5e7af7eae79aff70a90824bbd63f22
Subproject commit 5e38fd12f9a0aa51355b5584500f60f6c38ccd6c

@ -101,7 +101,7 @@ func (impl *scrapServiceImpl) Query(ctx context.Context, query *param.ScrapPageQ
db = db.Where("scrap_page.title like ?", "%"+query.KeyWord+"%")
}
db.Scan(&dtoList)
db.Offset((query.PageNum - 1) * query.PageSize).Limit(query.PageSize).Scan(&dtoList)
return dtoList, total, nil
}

Loading…
Cancel
Save