From 0ffaabe530c3298c2358506a05c12688d3aee94f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Mon, 17 Apr 2023 16:57:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GiiController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GiiController.php b/GiiController.php index 7dea55f..861d943 100644 --- a/GiiController.php +++ b/GiiController.php @@ -546,7 +546,7 @@ use Kiri\Router\Annotate\AutoController; ', }; - } else if ($_key == 'json') { + } else if ($_key == 'json' || $_key == 'text' || $_key == 'longtext') { $class .= ' /** * ' . (empty($comment) ? '这批懒的很,没写注释' : $comment) . '