石广澎
2025-11-17 f28a4a64c825b02e32e79387e0a6763e934ce51d
common/config.js
@@ -2,27 +2,40 @@
// 开发
const dev = {
   webURL: 'https://sfzf.cpbtsoft.cn',
   baseURL: 'http://172.16.2.121: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'
}
// 正式
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 = {
@@ -30,8 +43,8 @@
   '02': '信用卡'
}
module.exports = {
   config: test,
   ACCESSTOKEN: "Authorization",
   config: stq,
   ACCESSTOKEN: "SCAN-WECHAT-TOKEN-HEADER",
   /* 是否打印请求日志 */
   DEBUG: false,
   cardType: cardType