dootask/app/Http/Middleware/VerifyCsrfToken.php
2021-06-03 00:34:58 +08:00

19 lines
353 B
PHP

<?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 = [
// 添加任务
'api/project/task/add/',
];
}