public function __construct() { parent::__construct(); //短信内容 $this->verify = mt_rand(111111, 999999); //生成随机验证码 $this->date = date('Y-m-d H:i'); //日期 }