使用验证器无法识别make方法,需要正确引入namespace

    1. use Illuminate\Support\Facades\Validator;
    2. $validator = Validator::make($input, $rules, $messages);