SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.000855s ]
SELECT * FROM `tp_goods_category` WHERE `is_show` = 1 ORDER BY `sort_order` [ RunTime:0.000637s ]
SHOW FULL COLUMNS FROM `tp_wx_user` [ RunTime:0.000760s ]
SELECT `qr` FROM `tp_wx_user` LIMIT 1 [ RunTime:0.000315s ]
SELECT * FROM `tp_goods_category` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000526s ]
SELECT `id`,`parent_id` FROM `tp_goods_category` [ RunTime:0.000661s ]
SELECT `id` FROM `tp_goods_category` WHERE `parent_id` = 0 [ RunTime:0.000458s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.001212s ]
SELECT `goods_id` FROM `tp_goods` WHERE `is_on_sale` = 1 AND `exchange_integral` = 0 AND `cat_id` IN (0,12,13,14,15,16,17,18,19,20,21,22,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,23,24,25,29,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,26,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,27,232,233,234,235,236,237,238,239,240,241,242,243,244,245,28,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,30,45,262,263,264,265,266,268,269,270,46,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,47,106,286,287,288,289,290,48,291,292,293,294,295,296,297,298,299,300,301,49,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,50,324,325,326,327,329,51,328,330,331,332,333,334,323,335,336,337,338,339,340,341,31,32,62,33,68,69,70,71,72,73,74,34,75,76,77,78,79,80,35,84,81,82,85,86,87,88,36,89,90,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,176,177,178,179,180,181,182,37,38,91,92,93,94,95,39,96,97,98,147,148,149,150,151,152,153,154,40,99,100,101,102,103,155,156,157,158,41,104,105,128,129,130,42,121,122,123,124,125,126,127,43,131,132,133,134,135,136,137,159,44,138,139,140,141,142,143,144,145,146,52,53,359,360,361,362,363,364,365,366,367,368,369,370,371,54,372,373,374,375,376,377,109,351,352,353,354,355,356,357,358,342,343,344,345,346,347,348,349,350,378,379,380,381,382,383,384,385,386,387,388,389,390,391,55,116,392,393,394,395,396,397,398,399,400,401,117,402,403,404,405,406,407,118,408,409,410,411,412,413,414,415,119,416,417,418,419,420,421,422,423,424,120,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,56,57,443,444,445,446,447,448,449,450,451,452,453,454,455,58,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,499,500,498,501,502,503,504,505,506,507,508,509,510,511,512,570,571,572,573,574,575,576,577,578,579,580,59,60,514,515,516,517,518,519,520,513,521,522,523,524,525,526,527,528,529,530,531,532,536,537,538,539,540,533,541,542,543,544,545,546,547,548,549,534,550,551,552,553,535,554,555,556,557,558,559,560,561,562,563,564,565,566,567,568,569,61,114,115,83,107,108,111,110,112,113,585,586,587,588,592,593,589,594) [ RunTime:0.004139s ]
select * from (select *,concat('_',`key`,'_') as key2 from tp_spec_goods_price as a) b where 1=1 and ( key2 like '%\_15\_%' ) [ RunTime:0.000757s ]
SHOW FULL COLUMNS FROM `tp_spec` [ RunTime:0.000682s ]
SELECT `id`,`name` FROM `tp_spec` [ RunTime:0.000304s ]
SHOW FULL COLUMNS FROM `tp_spec_item` [ RunTime:0.000562s ]
SELECT `id`,`item` FROM `tp_spec_item` [ RunTime:0.000299s ]
SELECT `shop_price` FROM `tp_goods` WHERE `goods_id` = 326 [ RunTime:0.000348s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` = 326 AND `brand_id` > 0 [ RunTime:0.000301s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.000523s ]
SELECT * FROM `tp_brand` WHERE `id` IN ('') LIMIT 30 [ RunTime:0.000342s ]
select group_concat(`key` separator '_') as `key` from tp_spec_goods_price where goods_id in(326) [ RunTime:0.000384s ]
SELECT `id`,`name` FROM `tp_spec` WHERE `search_index` = 1 [ RunTime:0.000339s ]
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.000492s ]
SHOW FULL COLUMNS FROM `tp_goods_attr` [ RunTime:0.000578s ]
SELECT * FROM `tp_goods_attr` WHERE `goods_id` = 326 AND `attr_value` <> '' [ RunTime:0.000326s ]
SHOW FULL COLUMNS FROM `tp_goods_attribute` [ RunTime:0.000533s ]
SELECT `attr_id`,`attr_id`,`attr_name`,`attr_index` FROM `tp_goods_attribute` WHERE ( attr_index = 1 ) [ RunTime:0.000377s ]
SELECT * FROM `tp_goods` WHERE `goods_id` = 326 ORDER BY `sort` ASC LIMIT 0,20 [ RunTime:0.000520s ]
SHOW FULL COLUMNS FROM `tp_goods_images` [ RunTime:0.000605s ]
SELECT * FROM `tp_goods_images` WHERE `goods_id` = 326 [ RunTime:0.000287s ]
SELECT `id`,`id`,`name`,`parent_id`,`level` FROM `tp_goods_category` WHERE ( is_show=1 ) [ RunTime:0.000407s ]
SHOW FULL COLUMNS FROM `tp_ad_position` [ RunTime:0.000879s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000338s ]
SHOW FULL COLUMNS FROM `tp_ad` [ RunTime:0.000628s ]
SELECT * FROM `tp_ad` WHERE ( pid=101 and enabled = 1 and start_time < 1777834800 and end_time > 1777834800 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000436s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000332s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1777834800 and end_time > 1777834800 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000402s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000325s ]
SELECT * FROM `tp_ad` WHERE ( pid=102 and enabled = 1 and start_time < 1777834800 and end_time > 1777834800 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000359s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000309s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1777834800 and end_time > 1777834800 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000366s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000305s ]
SELECT * FROM `tp_ad` WHERE ( pid=103 and enabled = 1 and start_time < 1777834800 and end_time > 1777834800 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000348s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000305s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1777834800 and end_time > 1777834800 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000351s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000342s ]
SELECT * FROM `tp_ad` WHERE ( pid=104 and enabled = 1 and start_time < 1777834800 and end_time > 1777834800 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000355s ]
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 < 1777834800 and end_time > 1777834800 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000337s ]
SELECT * FROM `tp_navigation` where is_show = 1 and position = 'top' ORDER BY `sort` DESC [ RunTime:0.000343s ]
select goods_id,goods_name,shop_price from `tp_goods` where is_hot=1 and is_on_sale = 1 limit 5 [ RunTime:0.000823s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 326 LIMIT 1 [ RunTime:0.000315s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 326 LIMIT 1 [ RunTime:0.000371s ]
select * from `tp_slogan` [ RunTime:0.000335s ]
select * from `tp_article_cat` where cat_id < 6 order by sort_order asc [ RunTime:0.000441s ]
select * from `tp_article` where cat_id = 1 and is_open=1 limit 5 [ RunTime:0.000400s ]
select * from `tp_article` where cat_id = 4 and is_open=1 limit 5 [ RunTime:0.000382s ]
select * from `tp_article` where cat_id = 2 and is_open=1 limit 5 [ RunTime:0.000378s ]
select * from `tp_article` where cat_id = 3 and is_open=1 limit 5 [ RunTime:0.000379s ]
select * from `tp_article` where cat_id = 5 and is_open=1 limit 5 [ RunTime:0.000459s ]
select * from `tp_friend_link` where is_show=1 [ RunTime:0.000507s ]
SELECT * FROM `tp_navigation` where is_show = 1 AND position = 'bottom' ORDER BY `sort` DESC [ RunTime:0.000442s ]
select * from `tp_article` where cat_id = 5 and is_open=1 [ RunTime:0.000515s ]