SHOW FULL COLUMNS FROM `an_config` [ RunTime:0.002204s ]
SELECT `id`,`name`,`value`,`a_show` FROM `an_config` WHERE `config_type` = 188 [ RunTime:0.000925s ]
SHOW FULL COLUMNS FROM `an_type` [ RunTime:0.001389s ]
SELECT * FROM `an_type` WHERE `type` = 'goods' [ RunTime:0.000840s ]
SELECT * FROM `an_type` WHERE `type` = 'news' [ RunTime:0.000694s ]
SHOW FULL COLUMNS FROM `an_page` [ RunTime:0.001923s ]
SELECT * FROM `an_page` WHERE `a_show` = '1' ORDER BY `sort` DESC [ RunTime:0.000862s ]
SHOW FULL COLUMNS FROM `an_goods` [ RunTime:0.001488s ]
SELECT `a`.`id`,`a`.`img`,`a`.`price`,`a`.`name`,`a`.`type_id`,b.name as typeName FROM `an_goods` `a` INNER JOIN `an_type` `b` ON `a`.`type_id`=`b`.`id` WHERE `a`.`a_show` = '1' AND `b`.`a_show` = '1' AND `b`.`type` = 'goods' AND `a`.`type_id` = '4' OR `b`.`pid` = '4' ORDER BY `a`.`id` DESC LIMIT 0,9 [ RunTime:0.001090s ]
SELECT COUNT(*) AS think_count FROM `an_goods` `a` INNER JOIN `an_type` `b` ON `a`.`type_id`=`b`.`id` WHERE `a`.`a_show` = '1' AND `b`.`a_show` = '1' AND `b`.`type` = 'goods' AND `a`.`type_id` = '4' [ RunTime:0.000893s ]
SELECT * FROM `an_type` WHERE `a_show` = '1' AND `type` = 'goods' ORDER BY `sort` DESC [ RunTime:0.000761s ]
SELECT * FROM `an_type` WHERE `id` = 4 LIMIT 1 [ RunTime:0.000673s ]
SELECT * FROM `an_page` WHERE `id` = 2 LIMIT 1 [ RunTime:0.000917s ]