SHOW FULL COLUMNS FROM `tp_wx_user` [ RunTime:0.003202s ]
SELECT `qr` FROM `tp_wx_user` LIMIT 1 [ RunTime:0.002104s ]
SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.012787s ]
SELECT * FROM `tp_goods_category` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000321s ]
SELECT `id`,`parent_id` FROM `tp_goods_category` [ RunTime:0.000741s ]
SHOW FULL COLUMNS FROM `tp_goods_attr` [ RunTime:0.027442s ]
SELECT `goods_id` FROM `tp_goods_attr` WHERE `attr_id` IN (69,70,19,58,20) AND `attr_value` IN ('半手工','招财','桌面摆件','金属','其他') GROUP BY `goods_id` HAVING count(goods_id) > 4 [ RunTime:0.014528s ]
SHOW FULL COLUMNS FROM `tp_goods_attribute` [ RunTime:0.011045s ]
SELECT `attr_id`,`attr_name` FROM `tp_goods_attribute` [ RunTime:0.023719s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.011282s ]
SELECT `shop_price` FROM `tp_goods` WHERE `goods_id` = 0 [ RunTime:0.021764s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` IN ('') AND `brand_id` > 0 [ RunTime:0.000699s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.009106s ]
SELECT * FROM `tp_brand` WHERE `id` IN ('') LIMIT 30 [ RunTime:0.009427s ]
select group_concat(`key` separator '_') as `key` from tp_spec_goods_price where goods_id in(0) [ RunTime:0.000454s ]
SELECT * FROM `tp_goods_attr` WHERE `goods_id` = 0 AND `attr_value` <> '' [ RunTime:0.000312s ]
SELECT `attr_id`,`attr_id`,`attr_name`,`attr_index` FROM `tp_goods_attribute` WHERE ( attr_index = 1 ) [ RunTime:0.000526s ]
SELECT `id`,`id`,`name`,`parent_id`,`level` FROM `tp_goods_category` WHERE ( is_show=1 ) [ RunTime:0.000929s ]
SHOW FULL COLUMNS FROM `tp_ad_position` [ RunTime:0.019316s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000387s ]
SHOW FULL COLUMNS FROM `tp_ad` [ RunTime:0.000665s ]
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.003172s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000358s ]
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.000379s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.022494s ]
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.006754s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000356s ]
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.000379s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.002473s ]
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.001492s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000861s ]
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.001264s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.004147s ]
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.000743s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000913s ]
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.000852s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.004787s ]
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.000485s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.001328s ]
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.003795s ]
SELECT * FROM `tp_navigation` where is_show = 1 AND position = 'bottom' ORDER BY `sort` DESC [ RunTime:0.002696s ]
select * from `tp_article` where cat_id = 5 and is_open=1 [ RunTime:0.001647s ]