微信通知
在VerifyCsrfToken文件里面添加微信通知地址,表示这个这地不用验证
<?php
namespace App\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware;
class VerifyCsrfToken extends Middleware
{
/**
* The URIs that should be excluded from CSRF verification.
*
* @var array
*/
protected $except = [
// wechat
'wechat',
// 微信通知地址
'wx_notify_url'
];
}