SHOW FULL COLUMNS FROM `tp_wx_user` [ RunTime:0.013835s ]
SELECT `qr` FROM `tp_wx_user` LIMIT 1 [ RunTime:0.003731s ]
SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.007128s ]
SELECT * FROM `tp_goods_category` WHERE `id` = 31 LIMIT 1 [ RunTime:0.013922s ]
SELECT `id`,`parent_id` FROM `tp_goods_category` [ RunTime:0.036879s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.013046s ]
SELECT `shop_price` FROM `tp_goods` WHERE `goods_id` IN (1,13,25,79,114,145,237,258,259,272,328,28,30,52,39,55,34,273,59,210,62,65,226,69,16,70,71,35,73,50,75,48,49,147) [ RunTime:0.003078s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` IN (1,13,25,79,114,145,237,258,259,272,328,28,30,52,39,55,34,273,59,210,62,65,226,69,16,70,71,35,73,50,75,48,49,147) AND `brand_id` > 0 [ RunTime:0.011996s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.000626s ]
SELECT * FROM `tp_brand` WHERE `id` IN ('') LIMIT 30 [ RunTime:0.000290s ]
select group_concat(`key` separator '_') as `key` from tp_spec_goods_price where goods_id in(1,13,25,79,114,145,237,258,259,272,328,28,30,52,39,55,34,273,59,210,62,65,226,69,16,70,71,35,73,50,75,48,49,147) [ RunTime:0.000518s ]
SHOW FULL COLUMNS FROM `tp_spec` [ RunTime:0.000605s ]
SELECT `id`,`name` FROM `tp_spec` WHERE `search_index` = 1 [ RunTime:0.000318s ]
SHOW FULL COLUMNS FROM `tp_spec_item` [ RunTime:0.000530s ]
SELECT `id`,`id`,`spec_id`,`item` FROM `tp_spec_item` WHERE `spec_id` IN (1,2,3,4,5,6,8,9,10,11,12,13,14,15,16,52,18,19,20,21,22,23,24,25,26,27,28,29,36,53,33,35,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,56,57) [ RunTime:0.000501s ]
SHOW FULL COLUMNS FROM `tp_goods_attr` [ RunTime:0.000827s ]
SELECT * FROM `tp_goods_attr` WHERE `goods_id` IN (1,13,25,79,114,145,237,258,259,272,328,28,30,52,39,55,34,273,59,210,62,65,226,69,16,70,71,35,73,50,75,48,49,147) AND `attr_value` <> '' [ RunTime:0.000584s ]
SHOW FULL COLUMNS FROM `tp_goods_attribute` [ RunTime:0.000567s ]
SELECT `attr_id`,`attr_id`,`attr_name`,`attr_index` FROM `tp_goods_attribute` WHERE ( attr_index = 1 ) [ RunTime:0.000516s ]
SELECT * FROM `tp_goods` WHERE `goods_id` IN (1,13,25,79,114,145,237,258,259,272,328,28,30,52,39,55,34,273,59,210,62,65,226,69,16,70,71,35,73,50,75,48,49,147) ORDER BY `sort` ASC LIMIT 0,20 [ RunTime:0.014827s ]
SELECT `id`,`id`,`name`,`parent_id`,`level` FROM `tp_goods_category` WHERE ( is_show=1 ) [ RunTime:0.000712s ]
SHOW FULL COLUMNS FROM `tp_ad_position` [ RunTime:0.026982s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000895s ]
SHOW FULL COLUMNS FROM `tp_ad` [ RunTime:0.003365s ]
SELECT * FROM `tp_ad` WHERE ( pid=101 and enabled = 1 and start_time < 1772852400 and end_time > 1772852400 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.019542s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.002077s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1772852400 and end_time > 1772852400 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000469s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.027803s ]
SELECT * FROM `tp_ad` WHERE ( pid=102 and enabled = 1 and start_time < 1772852400 and end_time > 1772852400 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.001165s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.003500s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1772852400 and end_time > 1772852400 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.002436s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.003750s ]
SELECT * FROM `tp_ad` WHERE ( pid=103 and enabled = 1 and start_time < 1772852400 and end_time > 1772852400 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.002377s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.004264s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1772852400 and end_time > 1772852400 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.001315s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.011632s ]
SELECT * FROM `tp_ad` WHERE ( pid=104 and enabled = 1 and start_time < 1772852400 and end_time > 1772852400 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.002654s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.009437s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1772852400 and end_time > 1772852400 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000546s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.007540s ]
SELECT * FROM `tp_ad` WHERE ( pid=105 and enabled = 1 and start_time < 1772852400 and end_time > 1772852400 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.002240s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.001729s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1772852400 and end_time > 1772852400 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.012729s ]
SELECT * FROM `tp_navigation` where is_show = 1 AND position = 'bottom' ORDER BY `sort` DESC [ RunTime:0.004744s ]
select * from `tp_article` where cat_id = 5 and is_open=1 [ RunTime:0.001565s ]