init: 微信支付 Native 页面 (Express + JSON 存储)
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
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元' },
|
||||
],
|
||||
};
|
||||
Reference in New Issue
Block a user