"未提交", self::state_examineing=>"审核中", self::state_fail=>"拒绝", self::state_success=>"审核通过", ]; } public static function accountTypeDescList(): array { return [ (string) self::type_visitor => '游客', (string) self::type_consumer => '普通用户', (string) self::type_business => '商家', (string) self::type_staff => '员工', ]; } public function tag() { return $this->hasOne(Tag::class,"id","tag_id"); } }