SHOW FULL COLUMNS FROM `xkyx_classify` [ RunTime:0.001005s ]
SELECT * FROM `xkyx_classify` WHERE `pid` = 0 [ RunTime:0.000598s ]
SELECT * FROM `xkyx_classify` WHERE `pid` = 5 [ RunTime:0.000559s ]
SELECT `title` FROM `xkyx_classify` WHERE `id` = 5 LIMIT 1 [ RunTime:0.000504s ]
SELECT * FROM `xkyx_classify` WHERE `pid` = 385 [ RunTime:0.000437s ]
SELECT `title` FROM `xkyx_classify` WHERE `id` = 385 LIMIT 1 [ RunTime:0.000525s ]
SELECT `title` FROM `xkyx_classify` WHERE `id` = 639 LIMIT 1 [ RunTime:0.000469s ]
SHOW FULL COLUMNS FROM `xkyx_goods` [ RunTime:0.000888s ]
SELECT `b`.`title`,`b`.`id` FROM `xkyx_goods` `g` INNER JOIN `xkyx_brand` `b` ON `g`.`brand`=`b`.`id` WHERE `g`.`g_c` = '5' AND `g`.`g_cs` = '385' AND `g`.`g_ct` = '639' GROUP BY `brand` [ RunTime:0.001077s ]
SELECT COUNT(*) AS think_count FROM `xkyx_goods` `g` LEFT JOIN `xkyx_brand` `b` ON `g`.`brand`=`b`.`id` LEFT JOIN `xkyx_br_address` `br` ON `br`.`id`=`b`.`address` LEFT JOIN `xkyx_picture` `pic` ON `pic`.`id`=`g`.`pic` INNER JOIN `xkyx_goods_price` `gp` ON `g`.`id`=`gp`.`goods_id` INNER JOIN `xkyx_price` `p` ON `p`.`id`=`gp`.`price_id` INNER JOIN `xkyx_shopapp` `s` ON `g`.`sid`=`s`.`id` WHERE `g`.`g_c` = '5' AND `g`.`g_cs` = '385' AND `g`.`g_ct` = '639' AND `g`.`use_shop` = '1' AND `p`.`default` = '1' LIMIT 1 [ RunTime:0.002005s ]
SELECT `g`.`id`,`g`.`title`,`g`.`sid`,`g`.`brand`,`pic`.`path`,`g`.`mod`,`g`.`meter`,b.title as brandTitle,gp.value as price,s.title as shopTitle FROM `xkyx_goods` `g` LEFT JOIN `xkyx_brand` `b` ON `g`.`brand`=`b`.`id` LEFT JOIN `xkyx_br_address` `br` ON `br`.`id`=`b`.`address` LEFT JOIN `xkyx_picture` `pic` ON `pic`.`id`=`g`.`pic` INNER JOIN `xkyx_goods_price` `gp` ON `g`.`id`=`gp`.`goods_id` INNER JOIN `xkyx_price` `p` ON `p`.`id`=`gp`.`price_id` INNER JOIN `xkyx_shopapp` `s` ON `g`.`sid`=`s`.`id` WHERE `g`.`g_c` = '5' AND `g`.`g_cs` = '385' AND `g`.`g_ct` = '639' AND `g`.`use_shop` = '1' AND `p`.`default` = '1' ORDER BY g.id desc LIMIT 18,18 [ RunTime:0.001955s ]