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 | 49 +++++++++++++++++++++++++++++++------------------
1 files changed, 31 insertions(+), 18 deletions(-)
diff --git a/common/config.js b/common/config.js
index 3a4d60a..7739790 100644
--- a/common/config.js
+++ b/common/config.js
@@ -2,25 +2,38 @@
// 寮�鍙�
const dev = {
- webURL: 'https://jmy.jinmingyuan.com/pay',
- baseURL: '/dev-api',
- sftpURL: 'https://yqzx.jinmingyuan.com/file',
- wx_appid: 'wxe4a1e9fddc509c46',
+ 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/pay',
- baseURL: 'https://sfzf.cpbtsoft.cn',
- sftpURL: 'https://sfzf.cpbtsoft.cn/file',
- wx_appid: 'wxe4a1e9fddc509c46',
+// 缈兼敮浠樻祴璇�
+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/pay',
- baseURL: 'https://yqzx.jinmingyuan.com',
- sftpURL: 'https://yqzx.jinmingyuan.com/file',
+// 鐢熸�佸湀
+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'
}
@@ -30,9 +43,9 @@
'02': '淇$敤鍗�'
}
module.exports = {
- config: test,
- ACCESSTOKEN: "Authorization",
+ config: stq,
+ ACCESSTOKEN: "SCAN-WECHAT-TOKEN-HEADER",
/* 鏄惁鎵撳嵃璇锋眰鏃ュ織 */
DEBUG: false,
cardType: cardType
-}
\ No newline at end of file
+}
--
Gitblit v1.9.1