1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-10 03:11:07 +00:00

System page list wiki (#7195)

* add All wikis

optimize

* update

* optimize

* select wiki info by sql

* optimize publish wiki

* update

* optimize ui

* update

* Update repos.js

* optimize varname

* Update wiki-card-item.js

---------

Co-authored-by: 孙永强 <11704063+s-yongqiang@user.noreply.gitee.com>
Co-authored-by: r350178982 <32759763+r350178982@users.noreply.github.com>
This commit is contained in:
awu0403
2024-12-25 15:43:07 +08:00
committed by GitHub
parent 9b8b7c9324
commit 4f8047f498
12 changed files with 416 additions and 41 deletions

View File

@@ -201,6 +201,18 @@ class SystemAdminAPI {
return this.req.get(url, { params: params });
}
sysAdminListAllWikis(page, perPage, orderBy) {
const url = this.server + '/api/v2.1/admin/wikis/';
let params = {
page: page,
per_page: perPage
};
if (orderBy) {
params.order_by = orderBy;
}
return this.req.get(url, { params: params });
}
sysAdminSearchRepos(name, page, perPage) {
const url = this.server + '/api/v2.1/admin/search-library/';
let params = {