<?php
namespace backendApi\modules\v1\models\exportForms;

use common\libs\export\module\BaUserExport;
use yii\db\Exception;

class BaUserExportForm extends BaseExportForm
{
    /**
     * 导出
     * @param $filter
     * @param $listName
     * @param null $consoleRouter
     * @return bool
     * @throws Exception
     */
    public function run($filter, $listName, $consoleRouter = null): bool
    {
        $this->exportObj = BaUserExport::instance();
        return $this->export($filter, $listName, $consoleRouter);
    }


}
