用户接口调用、登录接口调用

This commit is contained in:
2025-05-05 16:45:29 +08:00
parent ec94aa7ba4
commit fab8454367
7 changed files with 360 additions and 259 deletions

View File

@@ -13,5 +13,15 @@ export default defineConfig({
alias: {
'@': path.resolve(__dirname, './src')
}
},
server: {
port: 8888,
proxy: {
'/api': {
target: 'http://127.0.0.1:18007/api/',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, '')
}
}
}
})