mirror of
https://gitee.com/yansongda/pay.git
synced 2024-12-02 12:17:38 +08:00
完善文档
This commit is contained in:
parent
b112a067bd
commit
007ded7a1f
@ -209,7 +209,7 @@ class PayController extends Controller
|
||||
public function notify()
|
||||
{
|
||||
$pay = new Pay($this->config);
|
||||
$verify = $p->driver('wechat')->gateway('mp')->verify(file_get_contents('php://input');
|
||||
$verify = $p->driver('wechat')->gateway('mp')->verify(file_get_contents('php://input'));
|
||||
|
||||
if ($verify) {
|
||||
file_put_contents('notify.txt', "收到来自微信的异步通知\r\n", FILE_APPEND);
|
||||
|
Loading…
Reference in New Issue
Block a user