新增neutrino-proxy-admin项目

This commit is contained in:
aoshiguchen
2022-07-23 13:47:10 +08:00
parent dfa5a61258
commit 770f67321c
240 changed files with 21298 additions and 4 deletions
+29
View File
@@ -0,0 +1,29 @@
import request from '@/utils/request'
export function loginByUsername(username, password) {
const data = {
username,
password
}
return request({
url: '/login/login',
method: 'post',
data
})
}
export function logout() {
return request({
url: '/login/logout',
method: 'post'
})
}
export function getUserInfo(token) {
return request({
url: '/user/info',
method: 'get',
params: { token }
})
}