24 lines
623 B
JavaScript
24 lines
623 B
JavaScript
module.exports = {
|
|
// WeChat Pay configuration - replace with your own credentials
|
|
wechat: {
|
|
appid: 'your_appid',
|
|
mchid: 'your_mchid',
|
|
key: 'your_api_key',
|
|
notifyUrl: 'https://your-domain.com/pay/notify',
|
|
apiBase: 'https://api.mch.weixin.qq.com',
|
|
},
|
|
|
|
// Server configuration
|
|
server: {
|
|
port: 3000,
|
|
host: '0.0.0.0',
|
|
},
|
|
|
|
// Product list
|
|
products: [
|
|
{ id: 1, name: '商品A', price: 1, desc: '测试商品A - 1分钱' },
|
|
{ id: 2, name: '商品B', price: 100, desc: '测试商品B - 1元' },
|
|
{ id: 3, name: '商品C', price: 1000, desc: '测试商品C - 10元' },
|
|
],
|
|
};
|