Skip to content

Commit 55c6cb8

Browse files
authored
Merge pull request #6 from taobig/patch-1
修复使用说明中的错误
2 parents 255fb5e + f91bfe6 commit 55c6cb8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ class PayController extends Controller
214214
public function notify(Request $request)
215215
{
216216
$pay = new Pay($this->config);
217-
$verify = $p->driver('wechat')->gateway('mp')->verify($request->getContent());
217+
       $verify = $pay->driver('wechat')->gateway('mp')->verify($request->getContent());
218218

219219
if ($verify) {
220220
file_put_contents('notify.txt', "收到来自微信的异步通知\r\n", FILE_APPEND);
@@ -722,4 +722,4 @@ $config_biz = [
722722
如果您有其它支付网关的需求,或者发现本项目中需要改进的代码,**_欢迎 Fork 并提交 PR!_**
723723

724724
## LICENSE
725-
MIT
725+
MIT

0 commit comments

Comments
 (0)