From 7f93db575b84a19fde58424426c1448250bc8df9 Mon Sep 17 00:00:00 2001 From: maqian Date: Tue, 29 Mar 2022 19:17:56 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- companys.conf | 13 +++++++++++++ src/pages/index.js | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/companys.conf b/companys.conf index 388bda265..e8e8fa208 100644 --- a/companys.conf +++ b/companys.conf @@ -806,6 +806,19 @@ map_key = 1ccc1ebc947719886f0cd766d70241fe map_name = oneX新零售门店定位 image_cdn = https://b-img-cdn.yuanyuanke.cn/ecshopx-vshop +[Ecshopx合版测试环境--品牌版] +appid = wxdff0772aeb2e1f89 +base_url = https://ecshopx1.shopex123.com/api/h5app/wxapp +websocket = wss://ecshopx1.shopex123.com/ws +company_id = 32 +app_name = 通用小程序 +platform = b2c +custom_server = https://ecshopx-h5.ex-sandbox.com/ +home_page = /pages/index +map_key = 1ccc1ebc947719886f0cd766d70241fe +map_name = oneX新零售门店定位 +image_cdn = https://b-img-cdn.yuanyuanke.cn/ecshopx-vshop + [Ecshopx店务端--平台版] appid = wx6fbb5dde523c20dd base_url = https://ecshopx2.shopex123.com/api/h5app/wxapp diff --git a/src/pages/index.js b/src/pages/index.js index 5a5d651ef..25769e1a3 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -67,7 +67,7 @@ function Home() { if (!checkRes && openLocation == 2 && VERSION_STANDARD) { fetchStoreInfo(location) } - if (!checkRes && VERSION_PLATFORM) { + if (!checkRes && (VERSION_PLATFORM || VERSION_B2C)) { setPolicyModal(true) } if (checkRes) {