Loading...
thinkphp6中的缓存是可以使用redis的,所以可以通过获取缓存的redis驱动,然后就可以使用r...
通过以下方法,即可获取: app()->db->getLastSql();