增加app模板和代码生成

This commit is contained in:
xiangheng
2024-06-04 00:41:55 +08:00
parent 3ea0b9ad5d
commit 89eb9ccc72
916 changed files with 97550 additions and 9 deletions

29
x_admin_app/api/user.js Normal file
View File

@@ -0,0 +1,29 @@
import {request} from '@/utils/request';
export function login(data) {
return request({
url: '/system/login',
method: 'POST',
data
})
}
export function getInfo(token) {
return request({
url: '/system/admin/self',
method: 'GET',
data: {
token
}
})
}
export function logout() {
return request({
url: '/system/logout',
method: 'GET'
})
}