mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-07 15:45:08 +08:00
增加 get-routers 接口的相关方法,未完全完成
This commit is contained in:
@ -18,7 +18,7 @@ export function login(username, password, code, uuid) {
|
||||
// 获取用户详细信息
|
||||
export function getInfo() {
|
||||
return request({
|
||||
url: '/getInfo',
|
||||
url: '/get-info',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
@ -3,7 +3,7 @@ import request from '@/utils/request'
|
||||
// 获取路由
|
||||
export const getRouters = () => {
|
||||
return request({
|
||||
url: '/getRouters',
|
||||
url: '/get-routers',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user