SHOW FULL COLUMNS FROM `tp_wx_user` [ RunTime:0.011302s ]
SELECT `qr` FROM `tp_wx_user` LIMIT 1 [ RunTime:0.006706s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.018100s ]
SELECT COUNT(*) AS think_count FROM `tp_goods` [ RunTime:0.007084s ]
SELECT * FROM `tp_goods` WHERE ( goods_name like '%TPshop%' and is_on_sale = 1 ) LIMIT 1 [ RunTime:0.013772s ]
SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.010186s ]
SELECT * FROM `tp_goods_category` WHERE `id` = 56 LIMIT 1 [ RunTime:0.004189s ]
SELECT `id`,`parent_id` FROM `tp_goods_category` [ RunTime:0.005860s ]
SELECT `id` FROM `tp_goods_category` WHERE `parent_id` = 56 [ RunTime:0.005320s ]
SELECT `goods_id` FROM `tp_goods` WHERE `is_on_sale` = 1 AND `exchange_integral` = 0 AND `cat_id` IN (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) [ RunTime:0.009066s ]
select * from (select *,concat('_',`key`,'_') as key2 from tp_spec_goods_price as a) b where 1=1 and ( key2 like '%\_44\_%' ) and ( key2 like '%\_38\_%' ) [ RunTime:0.015646s ]
SHOW FULL COLUMNS FROM `tp_spec` [ RunTime:0.095735s ]
SELECT `id`,`name` FROM `tp_spec` [ RunTime:0.015663s ]
SHOW FULL COLUMNS FROM `tp_spec_item` [ RunTime:0.017375s ]
SELECT `id`,`item` FROM `tp_spec_item` [ RunTime:0.008161s ]
SELECT `shop_price` FROM `tp_goods` WHERE `goods_id` IN (53,212) [ RunTime:0.010131s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` IN (53,212) AND `brand_id` > 0 [ RunTime:0.022456s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.010660s ]
SELECT * FROM `tp_brand` WHERE `id` IN ('') LIMIT 30 [ RunTime:0.013180s ]
select group_concat(`key` separator '_') as `key` from tp_spec_goods_price where goods_id in(53,212) [ RunTime:0.004153s ]
SELECT `id`,`name` FROM `tp_spec` WHERE `search_index` = 1 [ RunTime:0.002654s ]
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.017584s ]
SHOW FULL COLUMNS FROM `tp_goods_attr` [ RunTime:0.007459s ]
SELECT * FROM `tp_goods_attr` WHERE `goods_id` IN (53,212) AND `attr_value` <> '' [ RunTime:0.007443s ]
SHOW FULL COLUMNS FROM `tp_goods_attribute` [ RunTime:0.019403s ]
SELECT `attr_id`,`attr_id`,`attr_name`,`attr_index` FROM `tp_goods_attribute` WHERE ( attr_index = 1 ) [ RunTime:0.007460s ]
SELECT * FROM `tp_goods` WHERE `goods_id` IN (53,212) ORDER BY `sort` ASC LIMIT 0,20 [ RunTime:0.016785s ]
SHOW FULL COLUMNS FROM `tp_goods_images` [ RunTime:0.008244s ]
SELECT * FROM `tp_goods_images` WHERE `goods_id` IN (53,212) [ RunTime:0.014547s ]
SELECT `id`,`id`,`name`,`parent_id`,`level` FROM `tp_goods_category` WHERE ( is_show=1 ) [ RunTime:0.007270s ]
SHOW FULL COLUMNS FROM `tp_ad_position` [ RunTime:0.008842s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.006725s ]
SHOW FULL COLUMNS FROM `tp_ad` [ RunTime:0.015012s ]
SELECT * FROM `tp_ad` WHERE ( pid=101 and enabled = 1 and start_time < 1762333200 and end_time > 1762333200 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.011573s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.004447s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.009858s ]
SELECT * FROM `tp_ad` WHERE ( pid=102 and enabled = 1 and start_time < 1762333200 and end_time > 1762333200 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.006071s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.003194s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.021123s ]
SELECT * FROM `tp_ad` WHERE ( pid=103 and enabled = 1 and start_time < 1762333200 and end_time > 1762333200 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.007297s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.007341s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.006552s ]
SELECT * FROM `tp_ad` WHERE ( pid=104 and enabled = 1 and start_time < 1762333200 and end_time > 1762333200 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.004875s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.005188s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.004900s ]
SELECT * FROM `tp_ad` WHERE ( pid=105 and enabled = 1 and start_time < 1762333200 and end_time > 1762333200 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.005196s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.003738s ]
SELECT * FROM `tp_navigation` where is_show = 1 and position = 'top' ORDER BY `sort` DESC [ RunTime:0.004505s ]
select goods_id,goods_name,shop_price from `tp_goods` where is_hot=1 and is_on_sale = 1 limit 5 [ RunTime:0.011183s ]
SELECT * FROM `tp_navigation` where is_show = 1 AND position = 'bottom' ORDER BY `sort` DESC [ RunTime:0.018922s ]
select * from `tp_article` where cat_id = 5 and is_open=1 [ RunTime:0.007267s ]