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