From 160b88325eb7016509191affe59036cf74ced049 Mon Sep 17 00:00:00 2001
From: 石广澎 <shiguangpeng@163.com>
Date: 星期五, 27 十二月 2024 15:58:39 +0800
Subject: [PATCH] feat(地理位置检测): 关闭支付宝地理位置检测
---
common/config.js | 20 +++++++-------------
1 files changed, 7 insertions(+), 13 deletions(-)
diff --git a/common/config.js b/common/config.js
index a6e97ab..02b3bb9 100644
--- a/common/config.js
+++ b/common/config.js
@@ -5,35 +5,29 @@
webURL: 'https://sfzf.cpbtsoft.cn',
baseURL: '/dev-api',
// baseURL: 'http://172.16.2.117:8080',
- sftpURL: 'https://yqzx.jinmingyuan.com/file',
wx_appid: 'wx4c146dba764dcb05',
- ali_appid: '2021004149689887'
+ ali_appid: '2021004193639959'
}
// 娴嬭瘯
const test = {
webURL: 'https://sfzf.cpbtsoft.cn',
baseURL: 'https://sfzf.cpbtsoft.cn/prod-api',
- sftpURL: 'https://sfzf.cpbtsoft.cn/prod-api',
wx_appid: 'wx4c146dba764dcb05',
- ali_appid: '2021004149689887'
+ ali_appid: '2021004193639959'
}
// 姝e紡
const prod = {
- webURL: 'https://sfzf.cpbtsoft.cn',
- baseURL: 'https://jyy.hepost.com:20773/prod-api',
- sftpURL: 'https://jyy.hepost.com:20773/prod-api',
+ webURL: 'https://uif.hepost.com',
+ baseURL: 'https://uif.hepost.com/prod-api',
wx_appid: 'wx4c146dba764dcb05',
ali_appid: '2021004149689887'
}
-const cardType = {
- '00': '鍌ㄨ搫鍗�',
- '02': '淇$敤鍗�'
-}
module.exports = {
- config: process.env.NODE_ENV === 'development' ? dev : prod,
+ config: process.env.NODE_ENV === 'development' ? dev : test,
ACCESSTOKEN: "Authorization",
/* 鏄惁鎵撳嵃璇锋眰鏃ュ織 */
DEBUG: false,
- cardType: cardType
+ /* 鏄惁鏍¢獙浣嶇疆缁忕含搴� */
+ CHECK_LOCATION: false
}
--
Gitblit v1.9.1