From 970f22804de5cbb8819217b9326692819f54d97f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Wed, 12 Jan 2022 17:48:48 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"=E6=94=B9=E5=90=8D"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit fdf58326 --- Base/Model.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Base/Model.php b/Base/Model.php index 3bcf6ab..62b50b0 100644 --- a/Base/Model.php +++ b/Base/Model.php @@ -819,6 +819,7 @@ abstract class Model extends Component implements ModelInterface, ArrayAccess, T throw new Exception('You need add static method `tableName` and return table name.'); } $table = trim($this->table, '{%}'); + var_dump($this->table, $table); if (!empty($tablePrefix) && !str_starts_with($table, $tablePrefix)) { $table = $tablePrefix . $table; }