SHOW FULL COLUMNS FROM `tp_wx_user` [ RunTime:0.024273s ]
SELECT `qr` FROM `tp_wx_user` LIMIT 1 [ RunTime:0.009013s ]
SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.003554s ]
SELECT * FROM `tp_goods_category` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000311s ]
SELECT `id`,`parent_id` FROM `tp_goods_category` [ RunTime:0.000689s ]
SHOW FULL COLUMNS FROM `tp_goods_attr` [ RunTime:0.030537s ]
SELECT `goods_id` FROM `tp_goods_attr` WHERE `attr_id` IN (201,197,202,196) AND `attr_value` IN ('中国大陆','9787020090006','围城(精)') GROUP BY `goods_id` HAVING count(goods_id) > 3 [ RunTime:0.050239s ]
SHOW FULL COLUMNS FROM `tp_goods_attribute` [ RunTime:0.025318s ]
SELECT `attr_id`,`attr_name` FROM `tp_goods_attribute` [ RunTime:0.022598s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.018469s ]
SELECT `shop_price` FROM `tp_goods` WHERE `goods_id` = 320 [ RunTime:0.011194s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` = 320 AND `brand_id` > 0 [ RunTime:0.001100s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.000856s ]
SELECT * FROM `tp_brand` WHERE `id` IN ('') LIMIT 30 [ RunTime:0.000707s ]
select group_concat(`key` separator '_') as `key` from tp_spec_goods_price where goods_id in(320) [ RunTime:0.001123s ]
SELECT * FROM `tp_goods_attr` WHERE `goods_id` = 320 AND `attr_value` <> '' [ RunTime:0.004460s ]
SELECT `attr_id`,`attr_id`,`attr_name`,`attr_index` FROM `tp_goods_attribute` WHERE ( attr_index = 1 ) [ RunTime:0.000828s ]
SELECT * FROM `tp_goods` WHERE `goods_id` = 320 ORDER BY `sort` ASC LIMIT 0,20 [ RunTime:0.026158s ]
SELECT `id`,`id`,`name`,`parent_id`,`level` FROM `tp_goods_category` WHERE ( is_show=1 ) [ RunTime:0.002838s ]
SHOW FULL COLUMNS FROM `tp_ad_position` [ RunTime:0.053194s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.001414s ]
SHOW FULL COLUMNS FROM `tp_ad` [ RunTime:0.003033s ]
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.000660s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.001863s ]
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.001354s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.034368s ]
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.001028s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.006519s ]
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.000411s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.016657s ]
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.001086s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.003569s ]
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.003731s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.024749s ]
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.001593s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.001755s ]
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.001352s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.027513s ]
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.004430s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000659s ]
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.001231s ]
SELECT * FROM `tp_navigation` where is_show = 1 AND position = 'bottom' ORDER BY `sort` DESC [ RunTime:0.029266s ]
select * from `tp_article` where cat_id = 5 and is_open=1 [ RunTime:0.001483s ]