SHOW FULL COLUMNS FROM `tp_wx_user` [ RunTime:0.000819s ]
SELECT `qr` FROM `tp_wx_user` LIMIT 1 [ RunTime:0.000277s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.018561s ]
SELECT COUNT(*) AS think_count FROM `tp_goods` [ RunTime:0.000216s ]
SELECT * FROM `tp_goods` WHERE ( goods_name like '%TPshop%' and is_on_sale = 1 ) LIMIT 1 [ RunTime:0.001433s ]
SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.024702s ]
SELECT * FROM `tp_goods_category` WHERE `id` = 15 LIMIT 1 [ RunTime:0.000320s ]
SELECT * FROM `tp_goods_category` WHERE `id` = 13 ORDER BY `sort_order` DESC LIMIT 1 [ RunTime:0.001451s ]
SELECT `id`,`parent_id` FROM `tp_goods_category` [ RunTime:0.001801s ]
select * from (select *,concat('_',`key`,'_') as key2 from tp_spec_goods_price as a) b where 1=1 and ( key2 like '%\_6\_%' ) [ RunTime:0.016907s ]
SHOW FULL COLUMNS FROM `tp_goods_attr` [ RunTime:0.000793s ]
SELECT `goods_id` FROM `tp_goods_attr` WHERE `attr_id` = 25 AND `attr_value` = '%E4%B8%AD%E9%95%BF%E8%A3%99' [ RunTime:0.000321s ]
SHOW FULL COLUMNS FROM `tp_spec` [ RunTime:0.000512s ]
SELECT `id`,`name` FROM `tp_spec` [ RunTime:0.000274s ]
SHOW FULL COLUMNS FROM `tp_spec_item` [ RunTime:0.000495s ]
SELECT `id`,`item` FROM `tp_spec_item` [ RunTime:0.000313s ]
SHOW FULL COLUMNS FROM `tp_goods_attribute` [ RunTime:0.000522s ]
SELECT `attr_id`,`attr_name` FROM `tp_goods_attribute` [ RunTime:0.000531s ]
SELECT `shop_price` FROM `tp_goods` WHERE `goods_id` = 0 [ RunTime:0.000200s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` IN ('') AND `brand_id` > 0 [ RunTime:0.000421s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.000806s ]
SELECT * FROM `tp_brand` WHERE `id` IN ('') LIMIT 30 [ RunTime:0.000420s ]
select group_concat(`key` separator '_') as `key` from tp_spec_goods_price where goods_id in(0) [ RunTime:0.000371s ]
SELECT * FROM `tp_goods_attr` WHERE `goods_id` = 0 AND `attr_value` <> '' [ RunTime:0.000221s ]
SELECT `attr_id`,`attr_id`,`attr_name`,`attr_index` FROM `tp_goods_attribute` WHERE ( attr_index = 1 ) [ RunTime:0.000565s ]
SELECT `id`,`id`,`name`,`parent_id`,`level` FROM `tp_goods_category` WHERE ( is_show=1 ) [ RunTime:0.005028s ]
SHOW FULL COLUMNS FROM `tp_ad_position` [ RunTime:0.021375s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000324s ]
SHOW FULL COLUMNS FROM `tp_ad` [ RunTime:0.000630s ]
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.001040s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000333s ]
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.001553s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.011189s ]
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.000287s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000256s ]
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.000362s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.016846s ]
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.000408s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000308s ]
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.000391s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.006201s ]
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.000417s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000329s ]
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.000362s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.005634s ]
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.000353s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000344s ]
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.006206s ]
SELECT * FROM `tp_navigation` where is_show = 1 AND position = 'bottom' ORDER BY `sort` DESC [ RunTime:0.009947s ]
select * from `tp_article` where cat_id = 5 and is_open=1 [ RunTime:0.001245s ]