用户管理、端口池管理页面调通

This commit is contained in:
aoshiguchen
2022-08-28 14:34:19 +08:00
parent 6c4deb15aa
commit 30ccfb47cb
17 changed files with 519 additions and 66 deletions
+12 -1
View File
@@ -2,7 +2,7 @@ import request from '@/utils/request'
export function fetchList(query) {
return request({
url: '/user/list',
url: '/user/page',
method: 'get',
params: query
})
@@ -38,6 +38,17 @@ export function currentUserInfo() {
})
}
export function updateEnableStatus(id, enable) {
return request({
url: '/user/update/enable-status',
method: 'post',
data: {
id: id,
enable: enable
}
})
}
export function hello() {
return request({
url: '/test1/hello',