对接添加购物车
This commit is contained in:
@@ -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/, '')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user