Skip to content

Commit

Permalink
docs 添加微信登录和微信支付配置
Browse files Browse the repository at this point in the history
  • Loading branch information
tumobi authored Oct 28, 2017
1 parent 885ee4c commit 7d29dc8
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,20 @@ exports.model = {
};
```
+ 填写微信登录和微信支付配置
```
// default config
module.exports = {
default_module: 'api',
weixin: {
appid: '', // 小程序 appid
secret: '', // 小程序密钥
mch_id: '', // 商户帐号ID
partner_key: '', // 微信支付密钥
notify_url: '' // 微信异步通知,例:https://www.nideshop.com/api/pay/notify
}
};
```

+ 安装依赖并启动
```
Expand Down

0 comments on commit 7d29dc8

Please sign in to comment.