From f28a4a64c825b02e32e79387e0a6763e934ce51d Mon Sep 17 00:00:00 2001
From: 石广澎 <shiguangpeng@163.com>
Date: 星期一, 17 十一月 2025 16:01:09 +0800
Subject: [PATCH] feat(config): 更新生态圈API基础URL配置

---
 common/config.js |   65 +++++++++++++++++++-------------
 1 files changed, 39 insertions(+), 26 deletions(-)

diff --git a/common/config.js b/common/config.js
index 18efc97..7739790 100644
--- a/common/config.js
+++ b/common/config.js
@@ -2,37 +2,50 @@
 
 // 寮�鍙�
 const dev = {
-    webURL: 'https://sfzf.cpbtsoft.cn',
-    baseURL: 'http://172.16.2.117:8080',
-    sftpURL: 'https://yqzx.jinmingyuan.com/file',
-    wx_appid: 'wx4c146dba764dcb05',
-    ali_appid: '2021004149689887'
+	webURL: 'https://zhxx.jinmingyuan.com/pay',
+	baseURL: 'http://1.14.252.104:7101',
+	sftpURL: 'https://zhkj.jinmingyuan.com:8443/sftp',
+	imgUrl: 'https://zhkj.jinmingyuan.com:8443/sftp/platform/app/',
+	wx_appid: 'wxad8cc511da676bd4',
+	ali_appid: '2021003199690698'
 }
-// 娴嬭瘯
-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'
+// 缈兼敮浠樻祴璇�
+const yPayTest = {
+	webURL: 'https://zhxx.jinmingyuan.com/yPayTest',
+	baseURL: 'http://1.14.252.104:7101',
+	sftpURL: 'https://zhkj.jinmingyuan.com:8443/sftp',
+	imgUrl: 'https://zhkj.jinmingyuan.com:8443/sftp/platform/app/',
+	wx_appid: 'wxd163440fc91fd9af',
+	ali_appid: '2021003199690698'
 }
-// 姝e紡
-const prod = {
-    webURL: 'https://jmy.jinmingyuan.com',
-    baseURL: 'https://yqzx.jinmingyuan.com',
-    sftpURL: 'https://yqzx.jinmingyuan.com/file',
-    wx_appid: 'wx4c146dba764dcb05',
-    ali_appid: '2021004149689887'
+// 鐢熸�佸湀
+const stq = {
+	webURL: 'https://zhxx.jinmingyuan.com/pay',
+	baseURL: 'https://zhxx.jinmingyuan.com/ecoapi',
+	sftpURL: 'https://zhkj.jinmingyuan.com:8443/sftp',
+	imgUrl: 'https://zhkj.jinmingyuan.com:8443/sftp/platform/app/',
+	wx_appid: 'wxad8cc511da676bd4',
+	ali_appid: '2021003199690698'
+}
+
+// 浜烘墠鐮�
+const rcm = {
+	webURL: 'https://zhxx.jinmingyuan.com/rcmpay',
+	baseURL: 'https://zhxx.jinmingyuan.com/rcmapi',
+	sftpURL: 'https://zhkj.jinmingyuan.com:8443/sftp',
+	imgUrl: 'https://zhkj.jinmingyuan.com:8443/sftp/platform/app/',
+	wx_appid: 'wxad8cc511da676bd4',
+	ali_appid: '2021003199690698'
 }
 
 const cardType = {
-    '00': '鍌ㄨ搫鍗�',
-    '02': '淇$敤鍗�'
+	'00': '鍌ㄨ搫鍗�',
+	'02': '淇$敤鍗�'
 }
 module.exports = {
-    config: process.env.NODE_ENV === 'development' ? dev : test,
-    ACCESSTOKEN: "Authorization",
-    /* 鏄惁鎵撳嵃璇锋眰鏃ュ織 */
-    DEBUG: false,
-    cardType: cardType
+	config: stq,
+	ACCESSTOKEN: "SCAN-WECHAT-TOKEN-HEADER",
+	/* 鏄惁鎵撳嵃璇锋眰鏃ュ織 */
+	DEBUG: false,
+	cardType: cardType
 }

--
Gitblit v1.9.1