diff --git a/module/transfer/control.php b/module/transfer/control.php index cdaf5e5885..c07e0d3425 100755 --- a/module/transfer/control.php +++ b/module/transfer/control.php @@ -1,16 +1,27 @@ + * @package transfer + * @link https://www.zentao.net + */ class transfer extends control { /** + * 导出数据 * Export datas. * * @param string $model * @access public * @return void */ - public function export($model = '') + public function export(string $model = '') { - if($_POST) + if(!empty($_POST)) { $this->transfer->export($model); $this->fetch('file', 'export2' . $_POST['fileType'], $_POST);