添加系统管理、登录模块的接口、标准化开发流程

This commit is contained in:
super
2026-01-08 20:49:42 +08:00
parent fef12b01e2
commit 8fa07e4952
40 changed files with 3126 additions and 1701 deletions

View File

@@ -58,6 +58,16 @@ export default defineConfig({
server: {
port: 5173,
proxy: {
// 后端API代理
'/api': {
target: 'http://localhost:8080',
changeOrigin: true,
configure: (proxy) => {
proxy.on('proxyReq', (proxyReq, req) => {
console.log(`[Backend API Proxy] ${req.method} ${req.url}`)
})
}
},
// 主服务器代理
'/1panel-api/server1': {
target: 'http://47.109.57.58:42588',