TP打印输出SQL语句
模型 -> getLastSql();
//TP打印SQL语句 $data = $this->field($field)->where($condition)->select();
echo $this->getLastSql();//输出 SELECT `id`,`title`,materialUrl as outerUrl,image as img,`type`,`sort`,`status`,`source` FROM `ims_push` WHERE `type` = 2
return $data ? $data->toArray() : [];
-----END
影子是一个会撒谎的精灵,它在虚空中流浪和等待被发现之间;在存在与不存在之间....