From a454dfd560fcb7daa1a232432c4ca2c6645116ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IT=E5=B0=8F=E5=BC=BAxqitw=2Ecn?= <360237521@qq.com> Date: Thu, 12 Jul 2018 15:38:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E4=B8=8B=E8=BD=BD=E6=8C=89?= =?UTF-8?q?=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/BootstrapApiDoc.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/BootstrapApiDoc.php b/src/BootstrapApiDoc.php index e883e16..a559f26 100644 --- a/src/BootstrapApiDoc.php +++ b/src/BootstrapApiDoc.php @@ -306,7 +306,9 @@ EXT; } $html .= ''; } - $html .= ' '; + if (!isset($_GET['download']) || $_GET['download'] !== 'api_doc_php') { + $html .= ' '; + } $html .= ''; return $html; }