SHOW FULL COLUMNS FROM `tp_wx_user` [ RunTime:0.009490s ]
SELECT `qr` FROM `tp_wx_user` LIMIT 1 [ RunTime:0.002183s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.019630s ]
SELECT COUNT(*) AS think_count FROM `tp_goods` [ RunTime:0.025136s ]
SELECT * FROM `tp_goods` WHERE ( goods_name like '%TPshop%' and is_on_sale = 1 ) LIMIT 1 [ RunTime:0.002668s ]
SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.015024s ]
SELECT * FROM `tp_goods_category` WHERE `id` = 0 LIMIT 1 [ RunTime:0.001619s ]
SELECT `id`,`parent_id` FROM `tp_goods_category` [ RunTime:0.000842s ]
SELECT `id` FROM `tp_goods_category` WHERE `parent_id` = 0 [ RunTime:0.000310s ]
SELECT `shop_price` FROM `tp_goods` WHERE `goods_id` IN (1,2,3,4,5,7,12,8,9,10,11,13,14,15,16,17,18,20,21,22,23,24,25,26,28,30,33,34,35,43,44,45,95,40,37,39,38,41,42,46,47,48,49,50,51,52,53,55,56,58,59,60,63,62,81,65,66,67,68,69,70,71,72,73,91,75,76,77,78,79,82,83,84,85,86,87,88,89,90,92,94,96,97,98,99,100,101,102,103,104,106,107,108,109,110,111,113,114,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,140,138,139,143,144,145,146,147,148,149,150,151,155,156,157,158,159,161,162,163,164,165,178,168,169,170,171,172,173,174,262,175,176,177,179,182,183,185,186,187,188,190,191,192,194,195,196,201,202,203,204,205,206,209,210,212,214,225,219,221,222,224,226,227,228,230,231,232,234,261,236,237,240,246,249,251,260,258,259,263,264,265,266,267,268,271,272,273,274,275,276,277,278,279,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,317,318,319,320,321,322,328) [ RunTime:0.023266s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` IN (1,2,3,4,5,7,12,8,9,10,11,13,14,15,16,17,18,20,21,22,23,24,25,26,28,30,33,34,35,43,44,45,95,40,37,39,38,41,42,46,47,48,49,50,51,52,53,55,56,58,59,60,63,62,81,65,66,67,68,69,70,71,72,73,91,75,76,77,78,79,82,83,84,85,86,87,88,89,90,92,94,96,97,98,99,100,101,102,103,104,106,107,108,109,110,111,113,114,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,140,138,139,143,144,145,146,147,148,149,150,151,155,156,157,158,159,161,162,163,164,165,178,168,169,170,171,172,173,174,262,175,176,177,179,182,183,185,186,187,188,190,191,192,194,195,196,201,202,203,204,205,206,209,210,212,214,225,219,221,222,224,226,227,228,230,231,232,234,261,236,237,240,246,249,251,260,258,259,263,264,265,266,267,268,271,272,273,274,275,276,277,278,279,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,317,318,319,320,321,322,328) AND `brand_id` > 0 [ RunTime:0.005202s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.001856s ]
SELECT * FROM `tp_brand` WHERE `id` IN (3,4,10,12,14) LIMIT 30 [ RunTime:0.012809s ]
select group_concat(`key` separator '_') as `key` from tp_spec_goods_price where goods_id in(1,2,3,4,5,7,12,8,9,10,11,13,14,15,16,17,18,20,21,22,23,24,25,26,28,30,33,34,35,43,44,45,95,40,37,39,38,41,42,46,47,48,49,50,51,52,53,55,56,58,59,60,63,62,81,65,66,67,68,69,70,71,72,73,91,75,76,77,78,79,82,83,84,85,86,87,88,89,90,92,94,96,97,98,99,100,101,102,103,104,106,107,108,109,110,111,113,114,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,140,138,139,143,144,145,146,147,148,149,150,151,155,156,157,158,159,161,162,163,164,165,178,168,169,170,171,172,173,174,262,175,176,177,179,182,183,185,186,187,188,190,191,192,194,195,196,201,202,203,204,205,206,209,210,212,214,225,219,221,222,224,226,227,228,230,231,232,234,261,236,237,240,246,249,251,260,258,259,263,264,265,266,267,268,271,272,273,274,275,276,277,278,279,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,317,318,319,320,321,322,328) [ RunTime:0.001168s ]
SHOW FULL COLUMNS FROM `tp_spec` [ RunTime:0.000471s ]
SELECT `id`,`name` FROM `tp_spec` WHERE `search_index` = 1 [ RunTime:0.000498s ]
SHOW FULL COLUMNS FROM `tp_spec_item` [ RunTime:0.006244s ]
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.014054s ]
SHOW FULL COLUMNS FROM `tp_goods_attr` [ RunTime:0.003946s ]
SELECT * FROM `tp_goods_attr` WHERE `goods_id` IN (1,2,3,4,5,7,12,8,9,10,11,13,14,15,16,17,18,20,21,22,23,24,25,26,28,30,33,34,35,43,44,45,95,40,37,39,38,41,42,46,47,48,49,50,51,52,53,55,56,58,59,60,63,62,81,65,66,67,68,69,70,71,72,73,91,75,76,77,78,79,82,83,84,85,86,87,88,89,90,92,94,96,97,98,99,100,101,102,103,104,106,107,108,109,110,111,113,114,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,140,138,139,143,144,145,146,147,148,149,150,151,155,156,157,158,159,161,162,163,164,165,178,168,169,170,171,172,173,174,262,175,176,177,179,182,183,185,186,187,188,190,191,192,194,195,196,201,202,203,204,205,206,209,210,212,214,225,219,221,222,224,226,227,228,230,231,232,234,261,236,237,240,246,249,251,260,258,259,263,264,265,266,267,268,271,272,273,274,275,276,277,278,279,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,317,318,319,320,321,322,328) AND `attr_value` <> '' [ RunTime:0.007898s ]
SHOW FULL COLUMNS FROM `tp_goods_attribute` [ RunTime:0.006733s ]
SELECT `attr_id`,`attr_id`,`attr_name`,`attr_index` FROM `tp_goods_attribute` WHERE ( attr_index = 1 ) [ RunTime:0.002480s ]
SELECT * FROM `tp_goods` WHERE `goods_id` IN (1,2,3,4,5,7,12,8,9,10,11,13,14,15,16,17,18,20,21,22,23,24,25,26,28,30,33,34,35,43,44,45,95,40,37,39,38,41,42,46,47,48,49,50,51,52,53,55,56,58,59,60,63,62,81,65,66,67,68,69,70,71,72,73,91,75,76,77,78,79,82,83,84,85,86,87,88,89,90,92,94,96,97,98,99,100,101,102,103,104,106,107,108,109,110,111,113,114,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,140,138,139,143,144,145,146,147,148,149,150,151,155,156,157,158,159,161,162,163,164,165,178,168,169,170,171,172,173,174,262,175,176,177,179,182,183,185,186,187,188,190,191,192,194,195,196,201,202,203,204,205,206,209,210,212,214,225,219,221,222,224,226,227,228,230,231,232,234,261,236,237,240,246,249,251,260,258,259,263,264,265,266,267,268,271,272,273,274,275,276,277,278,279,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,317,318,319,320,321,322,328) ORDER BY `sort` ASC LIMIT 240,20 [ RunTime:0.005917s ]
SHOW FULL COLUMNS FROM `tp_goods_images` [ RunTime:0.005282s ]
SELECT * FROM `tp_goods_images` WHERE `goods_id` IN (309,310,311,312,317,318,319,320,321,322,328) [ RunTime:0.004732s ]
SELECT `id`,`id`,`name`,`parent_id`,`level` FROM `tp_goods_category` WHERE ( is_show=1 ) [ RunTime:0.013438s ]
SHOW FULL COLUMNS FROM `tp_ad_position` [ RunTime:0.004851s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000237s ]
SHOW FULL COLUMNS FROM `tp_ad` [ RunTime:0.000525s ]
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.016422s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.019184s ]
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.007503s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.009616s ]
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.019589s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.005823s ]
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.003566s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.001643s ]
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.000975s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.006829s ]
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.004401s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.004764s ]
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.003163s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.005500s ]
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.004667s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.003950s ]
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.003990s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.006961s ]
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.008858s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 322 LIMIT 1 [ RunTime:0.015766s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 328 LIMIT 1 [ RunTime:0.006732s ]
SELECT * FROM `tp_navigation` where is_show = 1 AND position = 'bottom' ORDER BY `sort` DESC [ RunTime:0.001860s ]
select * from `tp_article` where cat_id = 5 and is_open=1 [ RunTime:0.003554s ]