The function, in the automatic validation of Thinkphp3.2.3 does not execute the method?

this is the code I wrote. In automatic verification, I found that the level field did not implement the checkLevel method. Then I looked at the Tp source code and found that the function section is empty. Is it the tp source code or the problem with my writing?
clipboard.png

clipboard.png

tp
clipboard.png

Php
Mar.03,2021

Model class

<?php

namespace Home\Controller;

use Think\Controller;

class AdminController extends Controller
{

    public function addData()
    {
        $data = [
            'username' => 'xiaoming',
            'password' => 'root',
            'email'    => 'test@1.com',
            'level'    => '',
        ];

        $admin = D('Admin');

        if ($admin->create($data))
        {
            echo '';
        }
        else
        {
            dump($admin->getError());
        }
    }
}

result returned

string (21) "Grade data error!"

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3afb4-2c260.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3afb4-2c260.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?