Skip to content

Commit

Permalink
[更新]修改支付文档
Browse files Browse the repository at this point in the history
  • Loading branch information
zoujingli committed Oct 31, 2017
1 parent 9abad30 commit f0c8c7b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,9 @@ try {
}
```

## 支付通知处理
## 通知处理

### 支付宝通知处理
#### 支付宝通知
```php
// 实例支付对象
$pay = new \Pay\Pay($config);
Expand All @@ -160,7 +160,7 @@ if ($pay->driver('alipay')->gateway()->verify($_POST)) {
}
```

### 微信支付通知处理
#### 微信通知
```php
$pay = new \Pay\Pay($config);
$verify = $pay->driver('wechat')->gateway('mp')->verify(file_get_contents('php://input'));
Expand Down

0 comments on commit f0c8c7b

Please sign in to comment.