对接添加购物车

This commit is contained in:
gyq
2024-02-29 16:55:18 +08:00
parent 1aa33cab00
commit c198f81483
8 changed files with 299 additions and 110 deletions

View File

@@ -9,7 +9,8 @@ export default defineConfig({
server: {
proxy: {
'/api': {
target: 'https://cashierclient.sxczgkj.cn/cashier-client',
// target: 'https://cashierclient.sxczgkj.cn/cashier-client', // 测试
target: 'http://192.168.2.87:10587/cashier-client', // 国成
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, '')
}