优化快捷支付

This commit is contained in:
gyq
2024-05-17 18:33:52 +08:00
parent 6f378cc3c0
commit dbc7444e78
7 changed files with 152 additions and 109 deletions

View File

@@ -9,9 +9,10 @@ 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.116:10587/cashier-client', // 国成
// target: 'http://192.168.2.128:10587/cashier-client',
// target: 'http://192.168.2.171:10587/cashier-client', // 鹏辉
target: 'https://cashier-client.sxczgkj.cn/cashier-client', // 测试
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, '')
}