Open lucasliang2022 opened 12 months ago
单独验证类, 无法使用, 类似laravel10的那种 `<?php
namespace App\Http\Requests;
use Illuminate\Contracts\Validation\Validator; use Illuminate\Foundation\Http\FormRequest; use Illuminate\Http\Exceptions\HttpResponseException;
class BaseRequest extends FormRequest { /**
@return bool */ public function authorize(): bool { return true; }
/**
你这个无法验证是什么意思?
单独验证类, 无法使用, 类似laravel10的那种 `<?php
namespace App\Http\Requests;
use Illuminate\Contracts\Validation\Validator; use Illuminate\Foundation\Http\FormRequest; use Illuminate\Http\Exceptions\HttpResponseException;
class BaseRequest extends FormRequest { /**
@return bool */ public function authorize(): bool { return true; }
/**