升级到31版本、修改学生成绩筛选

This commit is contained in:
巴掌 committed 2018-12-11 10:59:15 +08:00
1 parent a79e7bf237
commit d8ec4fad39
34 files changed
+447 -114

No files matched your search

+2 -2
View File
@@ -313,9 +313,9 @@ if (!function_exists('download')) {
* @param integer $expire 有效期(秒)
* @return \think\response\Download
*/
function download($filename, $name = '', $content = false, $expire = 180)
function download($filename, $name = '', $content = false, $expire = 360, $openinBrower = false)
{
return Response::create($filename, 'download')->name($name)->isContent($content)->expire($expire);
return Response::create($filename, 'download')->name($name)->isContent($content)->expire($expire)->openinBrower($openinBrower);
}
}