SHOW FULL COLUMNS FROM `tp_wx_user` [ RunTime:0.001043s ]
SELECT `qr` FROM `tp_wx_user` LIMIT 1 [ RunTime:0.000287s ]
SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.001604s ]
SELECT * FROM `tp_goods_category` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000338s ]
SELECT `id`,`parent_id` FROM `tp_goods_category` [ RunTime:0.000747s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.002979s ]
SELECT `goods_id` FROM `tp_goods` WHERE ( shop_price >= 0 and shop_price <= 298 ) [ RunTime:0.001609s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` IN (3,4,12,8,10,11,15,16,20,21,22,23,24,30,34,45,95,39,41,42,47,49,53,55,56,59,63,62,66,67,68,69,91,77,83,86,87,89,92,94,96,97,98,99,100,101,102,103,108,109,110,111,113,117,118,119,121,122,123,124,126,127,128,129,130,131,132,135,140,149,150,151,155,156,157,161,162,164,165,178,169,170,171,173,174,262,176,177,179,182,183,185,186,187,190,191,192,195,196,203,210,212,214,219,221,226,227,228,230,234,236,240,249,251,267,268,273,283,284,285,286,287,288,290,291,292,294,295,298,299,300,301,304,307,308,309,310,311,312,317,318,319,320,321,322) AND `brand_id` > 0 [ RunTime:0.001258s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.000607s ]
SELECT * FROM `tp_brand` WHERE `id` IN (3,10,12) LIMIT 30 [ RunTime:0.000353s ]
select group_concat(`key` separator '_') as `key` from tp_spec_goods_price where goods_id in(3,4,12,8,10,11,15,16,20,21,22,23,24,30,34,45,95,39,41,42,47,49,53,55,56,59,63,62,66,67,68,69,91,77,83,86,87,89,92,94,96,97,98,99,100,101,102,103,108,109,110,111,113,117,118,119,121,122,123,124,126,127,128,129,130,131,132,135,140,149,150,151,155,156,157,161,162,164,165,178,169,170,171,173,174,262,176,177,179,182,183,185,186,187,190,191,192,195,196,203,210,212,214,219,221,226,227,228,230,234,236,240,249,251,267,268,273,283,284,285,286,287,288,290,291,292,294,295,298,299,300,301,304,307,308,309,310,311,312,317,318,319,320,321,322) [ RunTime:0.000950s ]
SHOW FULL COLUMNS FROM `tp_spec` [ RunTime:0.000586s ]
SELECT `id`,`name` FROM `tp_spec` WHERE `search_index` = 1 [ RunTime:0.000337s ]
SHOW FULL COLUMNS FROM `tp_spec_item` [ RunTime:0.000807s ]
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.000532s ]
SHOW FULL COLUMNS FROM `tp_goods_attr` [ RunTime:0.000897s ]
SELECT * FROM `tp_goods_attr` WHERE `goods_id` IN (3,4,12,8,10,11,15,16,20,21,22,23,24,30,34,45,95,39,41,42,47,49,53,55,56,59,63,62,66,67,68,69,91,77,83,86,87,89,92,94,96,97,98,99,100,101,102,103,108,109,110,111,113,117,118,119,121,122,123,124,126,127,128,129,130,131,132,135,140,149,150,151,155,156,157,161,162,164,165,178,169,170,171,173,174,262,176,177,179,182,183,185,186,187,190,191,192,195,196,203,210,212,214,219,221,226,227,228,230,234,236,240,249,251,267,268,273,283,284,285,286,287,288,290,291,292,294,295,298,299,300,301,304,307,308,309,310,311,312,317,318,319,320,321,322) AND `attr_value` <> '' [ RunTime:0.001612s ]
SHOW FULL COLUMNS FROM `tp_goods_attribute` [ RunTime:0.000582s ]
SELECT `attr_id`,`attr_id`,`attr_name`,`attr_index` FROM `tp_goods_attribute` WHERE ( attr_index = 1 ) [ RunTime:0.000410s ]
SELECT * FROM `tp_goods` WHERE `goods_id` IN (3,4,12,8,10,11,15,16,20,21,22,23,24,30,34,45,95,39,41,42,47,49,53,55,56,59,63,62,66,67,68,69,91,77,83,86,87,89,92,94,96,97,98,99,100,101,102,103,108,109,110,111,113,117,118,119,121,122,123,124,126,127,128,129,130,131,132,135,140,149,150,151,155,156,157,161,162,164,165,178,169,170,171,173,174,262,176,177,179,182,183,185,186,187,190,191,192,195,196,203,210,212,214,219,221,226,227,228,230,234,236,240,249,251,267,268,273,283,284,285,286,287,288,290,291,292,294,295,298,299,300,301,304,307,308,309,310,311,312,317,318,319,320,321,322) ORDER BY `sort` ASC LIMIT 0,20 [ RunTime:0.002138s ]
SELECT `id`,`id`,`name`,`parent_id`,`level` FROM `tp_goods_category` WHERE ( is_show=1 ) [ RunTime:0.006527s ]
SHOW FULL COLUMNS FROM `tp_ad_position` [ RunTime:0.012833s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.003924s ]
SHOW FULL COLUMNS FROM `tp_ad` [ RunTime:0.002909s ]
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.020141s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.002550s ]
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.000453s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.013565s ]
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.003827s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.005764s ]
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.012916s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.021987s ]
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.000364s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000288s ]
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.007704s ]
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.000362s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000340s ]
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.000384s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.013775s ]
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.003439s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000317s ]
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.000374s ]
SELECT * FROM `tp_navigation` where is_show = 1 AND position = 'bottom' ORDER BY `sort` DESC [ RunTime:0.025483s ]
select * from `tp_article` where cat_id = 5 and is_open=1 [ RunTime:0.001847s ]