This commit is contained in:
2023-04-17 17:05:39 +08:00
parent 0ffaabe530
commit 9ae3c960ff
+1 -1
View File
@@ -546,7 +546,7 @@ use Kiri\Router\Annotate\AutoController;
',
};
} else if ($_key == 'json' || $_key == 'text' || $_key == 'longtext') {
} else if ($type == 'json' || $type == 'text' || $type == 'longtext') {
$class .= '
/**
* ' . (empty($comment) ? '这批懒的很,没写注释' : $comment) . '