diff --git a/extend/catcher/Utils.php b/extend/catcher/Utils.php index f882768..c2ff07b 100644 --- a/extend/catcher/Utils.php +++ b/extend/catcher/Utils.php @@ -107,4 +107,15 @@ class Utils return [$module, $controllerName, $action]; } + + /** + * 表前缀 + * + * @time 2020年05月22日 + * @return mixed + */ + public function tablePrefix() + { + return \config('database.connections.mysql.prefix'); + } }