checkValidate(); if($res !== true){ // 不通过 // 进行封禁 LoginJizhi::add4Class(0,$value); } return $res; } public function prepare() { $this->type = $this->validation->getName(); $this->sid = $this->validation->get('phone'); } public function consumeError() { return $this->add(); } }