新增前缀获取

This commit is contained in:
JaguarJack 2020-05-22 14:07:55 +08:00
parent 5ac51366f2
commit bfc576b437

View File

@ -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');
}
}