Commit 22b4f9ba authored by 王源's avatar 王源 🎧

优化

parent 01b47db4
...@@ -24,26 +24,26 @@ class Exporter ...@@ -24,26 +24,26 @@ class Exporter
/** /**
* 以字节流的形式下载 * 以字节流的形式下载
*/ */
CONST DOWNLOAD_TYPE_STREAM = 1; const DOWNLOAD_TYPE_STREAM = 1;
/** /**
* 保存文件,并返回文件的路径 * 保存文件,并返回文件的路径
*/ */
CONST DOWNLOAD_TYPE_RETURN_FILE_PATH = 2; const DOWNLOAD_TYPE_RETURN_FILE_PATH = 2;
/** /**
* 保存文件,直接输出下载 * 保存文件,直接输出下载
*/ */
CONST DOWNLOAD_TYPE_SAVE_AND_DOWNLOAD = 3; const DOWNLOAD_TYPE_SAVE_AND_DOWNLOAD = 3;
/** /**
* 保存文件,返回文件绝对路径 * 保存文件,返回文件绝对路径
*/ */
CONST DOWNLOAD_TYPE_RETURN_ABSOLUTE_PATH = 4; const DOWNLOAD_TYPE_RETURN_ABSOLUTE_PATH = 4;
CONST EXPORTER_TYPE_CSV = 1; const EXPORTER_TYPE_CSV = 1;
CONST EXPORTER_TYPE_XLS = 2; const EXPORTER_TYPE_XLS = 2;
CONST EXPORTER_TYPE_XLSX = 3; const EXPORTER_TYPE_XLSX = 3;
/** /**
* @var ConfigInterface * @var ConfigInterface
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment