forked from kitfoxai/kitfoxpay
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.js
More file actions
32 lines (28 loc) · 1.01 KB
/
Copy pathconfig.example.js
File metadata and controls
32 lines (28 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/**
* 配置示例模板
* 复制本文件为 config.js 并填入真实配置
*/
module.exports = {
// ========== Jeepay 支付平台配置 ==========
jeepay: {
baseUrl: 'https://pay.jeepay.vip', // Jeepay API 基础地址
mchNo: '你的商户号', // 商户号
appId: '你的应用ID', // 应用ID
privateKey: '你的商户私钥' // 商户私钥(用于签名/验签)
},
// ========== 易支付接口配置(适配器) ==========
epay: {
pid: '你的易支付商户ID',
key: '你的易支付密钥' // MD5 签名密钥
},
// ========== 服务器配置 ==========
server: {
host: '0.0.0.0', // 绑定 IP(0.0.0.0 监听全部网卡)
port: 9219, // 监听端口
siteDomain: 'http://localhost:9219' // 对外访问域名(用于回调/跳转)
},
// ========== 管理后台配置 ==========
admin: {
password: '请修改为安全密码'
}
};