<?php

namespace App\Http\Middleware;

use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as BaseVerifier;

class VerifyCsrfToken extends BaseVerifier
{
    /**
     * The URIs that should be excluded from CSRF verification.
     *
     * @var array
     */
    protected $except = [
        // 过滤 ueditor 路由
        '/admin/ueditor',

        // 客户端接口
        '/api/client/login',
        '/api/client/message',
        '/api/client/passwd/reset',
        
        // 翻译接口
        '/api/translate/content',
        '/api/sync-collect',

        // paypal回调
        '/pay/paypal/notify',

        '/api/ai-search',
    ];
}
