输入banner图图片脚本导航/分类

TP打印输出SQL语句

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() : [];

 

TP打印输出SQL语句

标签:url   select   style   span   语句   source   nbsp   ast   img