代碼: 選擇全部
<?php
namespace App\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as BaseVerifier;
App\Http\Middleware\VerifyCsrfToken.php
class VerifyCsrfToken extends BaseVerifier
{
/**
* The URIs that should be excluded from CSRF verification.
*
* @var array
*/
protected $except = [
//
'/photorotate/*',
'/exif/*',
'/resize/*',
'alipaywebNotify',
'alipaywebReturn',
'/wechatwebReturn/*',
'/wechatBack/*',
'/govlntest/*',
];
}