excel导出清除缓存

feat/task1-c-wallet
Devil 2020-11-23 22:34:25 +08:00
parent 9a0d20cd40
commit 1650972405
1 changed files with 6 additions and 0 deletions

View File

@ -199,6 +199,12 @@ class Excel
}
}
// 丢弃输出缓冲区中的内容
if(ob_get_length() > 0)
{
ob_clean();
}
// 头部
header('Pragma: public');
header('Expires: 0');