oneThink发生错误,获取当前执行的SQL语句!

echo D('AnswerInfoView')->getLastSql();die();
原文地址:https://www.cnblogs.com/e0yu/p/7415210.html