SHOW FULL COLUMNS FROM `tp_wx_user` [ RunTime:0.004707s ]
SELECT `qr` FROM `tp_wx_user` LIMIT 1 [ RunTime:0.023472s ]
SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.021722s ]
SELECT * FROM `tp_goods_category` WHERE `id` = 14 LIMIT 1 [ RunTime:0.002286s ]
SELECT * FROM `tp_goods_category` WHERE `id` = 13 ORDER BY `sort_order` DESC LIMIT 1 [ RunTime:0.025615s ]
SELECT `id`,`parent_id` FROM `tp_goods_category` [ RunTime:0.058821s ]
select * from (select *,concat('_',`key`,'_') as key2 from tp_spec_goods_price as a) b where 1=1 and ( key2 like '%\_2\_%' ) and ( key2 like '%\_51\_%' ) [ RunTime:0.049063s ]
SHOW FULL COLUMNS FROM `tp_goods_attr` [ RunTime:0.012836s ]
SELECT `goods_id` FROM `tp_goods_attr` WHERE `attr_id` = 2 AND `attr_value` = '2018' [ RunTime:0.043869s ]
SHOW FULL COLUMNS FROM `tp_spec` [ RunTime:0.028800s ]
SELECT `id`,`name` FROM `tp_spec` [ RunTime:0.021647s ]
SHOW FULL COLUMNS FROM `tp_spec_item` [ RunTime:0.030080s ]
SELECT `id`,`item` FROM `tp_spec_item` [ RunTime:0.020080s ]
SHOW FULL COLUMNS FROM `tp_goods_attribute` [ RunTime:0.037735s ]
SELECT `attr_id`,`attr_name` FROM `tp_goods_attribute` [ RunTime:0.028995s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.070750s ]
SELECT `shop_price` FROM `tp_goods` WHERE `goods_id` = 0 [ RunTime:0.006513s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` IN ('') AND `brand_id` > 0 [ RunTime:0.014152s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.027051s ]
SELECT * FROM `tp_brand` WHERE `id` IN ('') LIMIT 30 [ RunTime:0.014702s ]
select group_concat(`key` separator '_') as `key` from tp_spec_goods_price where goods_id in(0) [ RunTime:0.015150s ]
SELECT * FROM `tp_goods_attr` WHERE `goods_id` = 0 AND `attr_value` <> '' [ RunTime:0.014737s ]
SELECT `attr_id`,`attr_id`,`attr_name`,`attr_index` FROM `tp_goods_attribute` WHERE ( attr_index = 1 ) [ RunTime:0.008993s ]
SELECT `id`,`id`,`name`,`parent_id`,`level` FROM `tp_goods_category` WHERE ( is_show=1 ) [ RunTime:0.022027s ]
SHOW FULL COLUMNS FROM `tp_ad_position` [ RunTime:0.023260s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.005450s ]
SHOW FULL COLUMNS FROM `tp_ad` [ RunTime:0.023968s ]
SELECT * FROM `tp_ad` WHERE ( pid=101 and enabled = 1 and start_time < 1759132800 and end_time > 1759132800 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.038148s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.008430s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.063773s ]
SELECT * FROM `tp_ad` WHERE ( pid=102 and enabled = 1 and start_time < 1759132800 and end_time > 1759132800 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.033390s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.064520s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.011307s ]
SELECT * FROM `tp_ad` WHERE ( pid=103 and enabled = 1 and start_time < 1759132800 and end_time > 1759132800 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.006049s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.025707s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.031589s ]
SELECT * FROM `tp_ad` WHERE ( pid=104 and enabled = 1 and start_time < 1759132800 and end_time > 1759132800 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.024314s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.015601s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.034005s ]
SELECT * FROM `tp_ad` WHERE ( pid=105 and enabled = 1 and start_time < 1759132800 and end_time > 1759132800 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.018056s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.009502s ]
SELECT * FROM `tp_navigation` where is_show = 1 and position = 'top' ORDER BY `sort` DESC [ RunTime:0.033393s ]
select goods_id,goods_name,shop_price from `tp_goods` where is_hot=1 and is_on_sale = 1 limit 5 [ RunTime:0.046113s ]
SELECT * FROM `tp_navigation` where is_show = 1 AND position = 'bottom' ORDER BY `sort` DESC [ RunTime:0.054589s ]
select * from `tp_article` where cat_id = 5 and is_open=1 [ RunTime:0.069739s ]