diff --git a/.env.development b/.env.development index 384d0d2..9efc462 100644 --- a/.env.development +++ b/.env.development @@ -1,14 +1,14 @@ # 本地环境 ENV = development -# 测试ws -# VITE_API_WSS = 'wss://sockets.sxczgkj.com/wss' - # 正式ws # VITE_API_WSS = 'wss://czgeatws.sxczgkj.com/wss' # 本地ws -VITE_API_WSS = 'ws://192.168.1.42:2348' +# VITE_API_WSS = 'ws://192.168.1.42:2348' + +# 线上本地映射测试ws +VITE_API_WSS = 'ws://frp.sxczgkj.com/wss' # 正式 php VITE_API_PHP_URL = 'https://newblockwlx.sxczgkj.cn/index.php/api' @@ -17,7 +17,7 @@ VITE_API_PHP_URL = 'https://newblockwlx.sxczgkj.cn/index.php/api' # VITE_API_KP_URL = 'http://192.168.1.13:8888/api' # 正式 php 开票 -# VITE_API_KP_URL = 'https://invoice.sxczgkj.cn/api' +VITE_API_KP_URL = 'https://invoice.sxczgkj.cn/api' # 线上测试 # VITE_API_URL = 'https://tapi.cashier.sxczgkj.cn' @@ -26,4 +26,7 @@ VITE_API_PHP_URL = 'https://newblockwlx.sxczgkj.cn/index.php/api' # VITE_API_URL = 'https://cashier.sxczgkj.com' # 本地调试连接 -VITE_API_URL = 'http://192.168.1.42/' \ No newline at end of file +# VITE_API_URL = 'http://192.168.1.42/' + +# 线上本地映射测试 +VITE_API_URL = 'https://frp.sxczgkj.com' \ No newline at end of file diff --git a/.env.test b/.env.test index 061e3f0..528c5b8 100644 --- a/.env.test +++ b/.env.test @@ -2,7 +2,10 @@ ENV = test # 测试ws -VITE_API_WSS = 'ws://192.168.1.42:2348' +# VITE_API_WSS = 'ws://192.168.1.42:2348' + +# 线上本地映射测试ws +VITE_API_WSS = 'ws://frp.sxczgkj.com/wss' # 测试ws # VITE_API_WSS = 'wss://sockets.sxczgkj.com/wss' @@ -26,4 +29,7 @@ VITE_API_KP_URL = 'https://invoice.sxczgkj.cn/api' # VITE_API_URL = 'https://cashier.sxczgkj.com/' # 本地调试连接 -VITE_API_URL = 'http://192.168.1.42/' \ No newline at end of file +# VITE_API_URL = 'http://192.168.1.42/' + +# 线上本地映射测试 +VITE_API_URL = 'https://frp.sxczgkj.com' \ No newline at end of file diff --git a/package.json b/package.json index a31ec88..f8533e0 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "vite-electron", "private": true, - "version": "2.0.31", + "version": "2.0.32", "main": "dist-electron/main.js", "scripts": { "dev": "chcp 65001 && vite", diff --git a/src/components/refundConsModal.vue b/src/components/refundConsModal.vue index e873240..a2d02c1 100644 --- a/src/components/refundConsModal.vue +++ b/src/components/refundConsModal.vue @@ -4,7 +4,7 @@