From db249cd6c73d84ead02ba4abf057016df1507dab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AD=8F=E5=95=BE?= <1144797966@qq.com> Date: Wed, 12 Jun 2024 12:20:27 +0800 Subject: [PATCH] conf --- framework/0-conf.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/framework/0-conf.js b/framework/0-conf.js index c3c1b5b..c1f0aa1 100644 --- a/framework/0-conf.js +++ b/framework/0-conf.js @@ -6,8 +6,8 @@ const proxyApi = "/api" // const proxyApi = 'http://192.168.2.42:9889/cashierService' // 王伟 // const proxyApi = 'http://192.168.2.74:9888/cashierService' // 帆哥 // const proxyApiwws = 'ws://192.168.2.74:9888/cashierService' // 测试 -const proxyApi = 'https://wxcashiertest.sxczgkj.cn/cashierService'// 测试 -const proxyApiwws ='wss://wxcashiertest.sxczgkj.cn/cashierService' // 测试 +const proxyApi = 'https://wxcashiertest.sxczgkj.cn/cashierService' // 测试 +const proxyApiwws = 'wss://wxcashiertest.sxczgkj.cn/cashierService' // 测试 // #endif // #ifdef H5 @@ -16,8 +16,10 @@ const baseUrlwws = 'ws://cashier.sxczgkj.cn/cashierService' // #endif // #ifdef APP || MP-WEIXIN -const baseUrl = debug ? proxyApi : 'https://cashier.sxczgkj.cn/cashierService' // 线上 -const baseUrlwws = debug ? proxyApiwws : 'wss://cashier.sxczgkj.cn/netty' // 线上 +// const baseUrl = debug ? proxyApi : 'https://cashier.sxczgkj.cn/cashierService' // 线上 +// const baseUrlwws = debug ? proxyApiwws : 'wss://cashier.sxczgkj.cn/netty' // 线上 +const baseUrl = 'https://cashier.sxczgkj.cn/cashierService' // 线上 +const baseUrlwws = 'wss://cashier.sxczgkj.cn/netty' // 线上 // #endif // import VConsole from "./vConsole.js"