增加同步API功能 (#1811)

* feature:新增同步API功能
This commit is contained in:
PiexlMax(奇淼
2024-07-04 21:19:20 +08:00
committed by GitHub
parent 227755b892
commit 02f5d6fea2
14 changed files with 635 additions and 28 deletions
+33
View File
@@ -144,3 +144,36 @@ export const freshCasbin = () => {
method: 'get'
})
}
export const syncApi = () => {
return service({
url: '/api/syncApi',
method: 'get'
})
}
export const getApiGroups = () => {
return service({
url: '/api/getApiGroups',
method: 'get'
})
}
export const ignoreApi = (data) => {
return service({
url: '/api/ignoreApi',
method: 'post',
data
})
}
export const enterSyncApi = (data) => {
return service({
url: '/api/enterSyncApi',
method: 'post',
data
})
}