tp5如何获取表前缀

使用助手函数config()
$prefix = config('database.prefix');