SHOW FULL COLUMNS FROM `ls_goods_category` [ RunTime:0.001194s ]
SELECT `id`,`name`,`pid`,`image`,`level`,`is_show`,`is_recommend` FROM `ls_goods_category` WHERE `is_show` = 1 AND `del` = 0 AND `level` = 1 ORDER BY `id` ASC,`sort` DESC [ RunTime:0.001385s ]
SELECT `id`,`name`,`pid`,`image`,`level`,`is_show`,`is_recommend` FROM `ls_goods_category` WHERE `is_show` = 1 AND `del` = 0 AND `level` = 2 ORDER BY `id` ASC,`sort` DESC [ RunTime:0.001471s ]
SELECT `id`,`name`,`pid`,`image`,`level`,`is_show`,`is_recommend` FROM `ls_goods_category` WHERE `is_show` = 1 AND `del` = 0 AND `level` = 3 ORDER BY `sort` DESC [ RunTime:0.001904s ]
SHOW FULL COLUMNS FROM `ls_nav` [ RunTime:0.003776s ]
SELECT `id`,`name`,`pid`,`image`,`level`,`link`,`module`,`is_show`,`is_recommend` FROM `ls_nav` WHERE `is_show` = 1 AND `del` = 0 AND `level` = 1 ORDER BY `id` ASC,`sort` DESC [ RunTime:0.005286s ]
SELECT `id`,`name`,`pid`,`image`,`level`,`link`,`module`,`is_show`,`is_recommend` FROM `ls_nav` WHERE `is_show` = 1 AND `del` = 0 AND `level` = 2 ORDER BY `id` ASC,`sort` DESC [ RunTime:0.003551s ]
SELECT `id`,`name`,`pid`,`image`,`level`,`link`,`module`,`is_show`,`is_recommend` FROM `ls_nav` WHERE `is_show` = 1 AND `del` = 0 AND `level` = 3 ORDER BY `sort` DESC [ RunTime:0.004993s ]
SHOW FULL COLUMNS FROM `ls_friendly_link` [ RunTime:0.004048s ]
SELECT * FROM `ls_friendly_link` WHERE `is_show` = 1 AND `del` = 0 ORDER BY `id` DESC,`sort` DESC [ RunTime:0.007048s ]
SELECT `id`,`name`,`pid`,`image`,`level` FROM `ls_goods_category` WHERE `is_show` = 1 AND `del` = 0 AND `level` = 1 ORDER BY `sort` DESC [ RunTime:0.002937s ]
SELECT `id`,`name`,`pid`,`image`,`level` FROM `ls_goods_category` WHERE `is_show` = 1 AND `del` = 0 AND `pid` = 10 ORDER BY `sort` DESC [ RunTime:0.002234s ]
SELECT `id`,`name` FROM `ls_goods_category` WHERE `id` = 10 LIMIT 1 [ RunTime:0.004186s ]
SHOW FULL COLUMNS FROM `ls_goods` [ RunTime:0.001945s ]
SELECT COUNT(*) AS think_count FROM `ls_goods` WHERE `status` = 1 AND `del` = 0 AND `first_category_id` = 10 ORDER BY `sort` DESC,`id` DESC LIMIT 1 [ RunTime:1.314612s ]
SELECT * FROM `ls_goods` WHERE `status` = 1 AND `del` = 0 AND `first_category_id` = 10 ORDER BY `sort` DESC,`id` DESC LIMIT 1710,15 [ RunTime:0.854319s ]
SELECT `id`,`name`,`pid`,`image`,`level`,`is_show`,`is_recommend` FROM `ls_goods_category` WHERE `is_show` = 1 AND `del` = 0 AND `level` = 1 ORDER BY `id` ASC,`sort` DESC [ RunTime:0.006931s ]
SELECT `id`,`name`,`pid`,`image`,`level`,`is_show`,`is_recommend` FROM `ls_goods_category` WHERE `is_show` = 1 AND `del` = 0 AND `level` = 2 ORDER BY `id` ASC,`sort` DESC [ RunTime:0.003078s ]
SELECT `id`,`name`,`pid`,`image`,`level`,`is_show`,`is_recommend` FROM `ls_goods_category` WHERE `is_show` = 1 AND `del` = 0 AND `level` = 3 ORDER BY `sort` DESC [ RunTime:0.007883s ]
SELECT `id`,`name`,`pid`,`image`,`level`,`link`,`module`,`is_show`,`is_recommend` FROM `ls_nav` WHERE `is_show` = 1 AND `del` = 0 AND `level` = 1 ORDER BY `id` ASC,`sort` DESC [ RunTime:0.006543s ]
SELECT `id`,`name`,`pid`,`image`,`level`,`link`,`module`,`is_show`,`is_recommend` FROM `ls_nav` WHERE `is_show` = 1 AND `del` = 0 AND `level` = 2 ORDER BY `id` ASC,`sort` DESC [ RunTime:0.002291s ]
SELECT `id`,`name`,`pid`,`image`,`level`,`link`,`module`,`is_show`,`is_recommend` FROM `ls_nav` WHERE `is_show` = 1 AND `del` = 0 AND `level` = 3 ORDER BY `sort` DESC [ RunTime:0.004232s ]
SELECT * FROM `ls_friendly_link` WHERE `is_show` = 1 AND `del` = 0 ORDER BY `id` DESC,`sort` DESC [ RunTime:0.008684s ]
SHOW FULL COLUMNS FROM `ls_ad` [ RunTime:0.008145s ]
SELECT `a`.*,`ap`.`width`,`ap`.`height` FROM `ls_ad` `a` INNER JOIN `ls_ad_position` `ap` ON `a`.`pid`=`ap`.`id` WHERE `pid` = 10 AND `ap`.`client` = '2' AND `a`.`status` = '1' AND `a`.`del` = '0' AND `ap`.`status` = '1' AND `ap`.`del` = '0' ORDER BY `sort` DESC,`id` DESC [ RunTime:0.001051s ]