50], [['cert_key'], 'string', 'max' => 15], ]; } /** * {@inheritdoc} */ public function attributeLabels() { return [ 'id' => 'ID', 'user_id' => '用户ID', 'email' => '邮箱', 'cert_key' => '验证码', 'cert' => '1:验证 0:未验证', 'request_from' => '请求来源', 'sent_time' => '验证码发送时间', 'cert_time' => '验证时间', ]; } }