SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.000735s ]
SELECT * FROM `tp_goods` WHERE `goods_id` = 295 LIMIT 1 [ RunTime:0.000480s ]
UPDATE `tp_goods` SET `click_count` = 40 WHERE `goods_id` = 295 [ RunTime:0.002715s ]
SHOW FULL COLUMNS FROM `tp_prom_order` [ RunTime:0.000585s ]
SELECT * FROM `tp_prom_order` WHERE `start_time` <= 1736953733 AND `end_time` > 1736953733 AND `is_close` = 0 ORDER BY `id` DESC LIMIT 3 [ RunTime:0.000299s ]
SHOW FULL COLUMNS FROM `tp_goods_images` [ RunTime:0.000444s ]
SELECT * FROM `tp_goods_images` WHERE `goods_id` = 295 [ RunTime:0.000285s ]
SHOW FULL COLUMNS FROM `tp_ad_goods` [ RunTime:0.000478s ]
SELECT * FROM `tp_ad_goods` `g` LEFT JOIN `tp_ad_goods_config` `c` ON `c`.`ad_goods_id`=`g`.`ad_goods_id` WHERE ( g.enabled =1 AND g.end_time > 1736953733 AND g.start_time <1736953733 and( c.goods_id = 295 OR c.goods_id is null) ) GROUP BY `c`.`goods_id` ORDER BY `c`.`goods_id` ASC,`g`.`orderby` DESC LIMIT 1 [ RunTime:0.000350s ]
SHOW FULL COLUMNS FROM `tp_comment` [ RunTime:0.000504s ]
SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 4 or ceil((deliver_rank+goods_rank+service_rank)/3)= 5 then 1 else 0 end) as high_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 3 then 1 else 0 end) as center_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)<=2 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 295 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000352s ]
SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 4 or ceil((deliver_rank+goods_rank+service_rank)/3)= 5 then 1 else 0 end) as high_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 3 then 1 else 0 end) as center_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)<=2 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 295 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000292s ]
SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 4 or ceil((deliver_rank+goods_rank+service_rank)/3)= 5 then 1 else 0 end) as high_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 3 then 1 else 0 end) as center_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)<=2 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 295 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000270s ]
SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 4 or ceil((deliver_rank+goods_rank+service_rank)/3)= 5 then 1 else 0 end) as high_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 3 then 1 else 0 end) as center_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)<=2 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 295 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000287s ]
SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 4 or ceil((deliver_rank+goods_rank+service_rank)/3)= 5 then 1 else 0 end) as high_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 3 then 1 else 0 end) as center_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)<=2 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 295 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000356s ]
SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 4 or ceil((deliver_rank+goods_rank+service_rank)/3)= 5 then 1 else 0 end) as high_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 3 then 1 else 0 end) as center_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)<=2 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 295 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000312s ]
SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 4 or ceil((deliver_rank+goods_rank+service_rank)/3)= 5 then 1 else 0 end) as high_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 3 then 1 else 0 end) as center_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)<=2 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 295 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000288s ]
SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 4 or ceil((deliver_rank+goods_rank+service_rank)/3)= 5 then 1 else 0 end) as high_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 3 then 1 else 0 end) as center_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)<=2 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 295 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000298s ]
SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 4 or ceil((deliver_rank+goods_rank+service_rank)/3)= 5 then 1 else 0 end) as high_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 3 then 1 else 0 end) as center_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)<=2 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 295 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000279s ]
SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 4 or ceil((deliver_rank+goods_rank+service_rank)/3)= 5 then 1 else 0 end) as high_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 3 then 1 else 0 end) as center_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)<=2 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 295 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000277s ]
SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 4 or ceil((deliver_rank+goods_rank+service_rank)/3)= 5 then 1 else 0 end) as high_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 3 then 1 else 0 end) as center_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)<=2 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 295 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000271s ]
SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 4 or ceil((deliver_rank+goods_rank+service_rank)/3)= 5 then 1 else 0 end) as high_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 3 then 1 else 0 end) as center_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)<=2 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 295 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000266s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 125 LIMIT 1 [ RunTime:0.000218s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 222 LIMIT 1 [ RunTime:0.000210s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 228 LIMIT 1 [ RunTime:0.000207s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 295 LIMIT 1 [ RunTime:0.000184s ]
SHOW FULL COLUMNS FROM `tp_goods_attr` [ RunTime:0.000462s ]
SELECT * FROM `tp_goods_attr` INNER JOIN `tp_goods_attribute` `b` ON `tp_goods_attr`.`attr_id`=`b`.`attr_id` WHERE `goods_id` = 295 AND `attr_index` = 1 ORDER BY `b`.`order` DESC [ RunTime:0.000621s ]
SHOW FULL COLUMNS FROM `tp_goods_attribute` [ RunTime:0.000396s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 1 LIMIT 1 [ RunTime:0.000238s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 2 LIMIT 1 [ RunTime:0.000252s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 4 LIMIT 1 [ RunTime:0.000239s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 24 LIMIT 1 [ RunTime:0.000212s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 25 LIMIT 1 [ RunTime:0.000230s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 26 LIMIT 1 [ RunTime:0.000201s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 27 LIMIT 1 [ RunTime:0.000188s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 28 LIMIT 1 [ RunTime:0.000190s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 29 LIMIT 1 [ RunTime:0.000229s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 30 LIMIT 1 [ RunTime:0.000246s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 31 LIMIT 1 [ RunTime:0.000203s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 32 LIMIT 1 [ RunTime:0.000188s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 33 LIMIT 1 [ RunTime:0.000193s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 34 LIMIT 1 [ RunTime:0.000212s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 35 LIMIT 1 [ RunTime:0.000215s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 36 LIMIT 1 [ RunTime:0.000216s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 37 LIMIT 1 [ RunTime:0.000194s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 38 LIMIT 1 [ RunTime:0.000194s ]
SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 4 or ceil((deliver_rank+goods_rank+service_rank)/3)= 5 then 1 else 0 end) as high_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 3 then 1 else 0 end) as center_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)<=2 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 295 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000332s ]
SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 4 or ceil((deliver_rank+goods_rank+service_rank)/3)= 5 then 1 else 0 end) as high_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 3 then 1 else 0 end) as center_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)<=2 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 295 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000271s ]
SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 4 or ceil((deliver_rank+goods_rank+service_rank)/3)= 5 then 1 else 0 end) as high_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 3 then 1 else 0 end) as center_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)<=2 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 295 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000257s ]
SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 4 or ceil((deliver_rank+goods_rank+service_rank)/3)= 5 then 1 else 0 end) as high_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 3 then 1 else 0 end) as center_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)<=2 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 295 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000265s ]
SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 4 or ceil((deliver_rank+goods_rank+service_rank)/3)= 5 then 1 else 0 end) as high_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)= 3 then 1 else 0 end) as center_sum,sum(case when ceil((deliver_rank+goods_rank+service_rank)/3)<=2 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 295 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000376s ]
SHOW FULL COLUMNS FROM `tp_spec_goods_price` [ RunTime:0.000518s ]
SELECT * FROM `tp_spec_goods_price` WHERE `goods_id` = 295 AND `goods_id` = 295 ORDER BY `item_id` [ RunTime:0.000386s ]
SELECT `key` FROM `tp_spec_goods_price` WHERE `goods_id` = 295 [ RunTime:0.000332s ]
SHOW FULL COLUMNS FROM `tp_spec_item` [ RunTime:0.000413s ]
SELECT * FROM `tp_spec_item` WHERE `id` IN (4,6,7,19,87) ORDER BY `order_index` ASC [ RunTime:0.000284s ]
SHOW FULL COLUMNS FROM `tp_spec` [ RunTime:0.000394s ]
SELECT * FROM `tp_spec` WHERE `id` IN (2,1) ORDER BY `order` DESC,`id` ASC [ RunTime:0.000228s ]
SELECT `key` FROM `tp_spec_goods_price` WHERE `goods_id` = 295 [ RunTime:0.000263s ]
SELECT * FROM `tp_spec_item` WHERE `id` IN (4,6,7,19,87) ORDER BY `order_index` ASC [ RunTime:0.000255s ]
SELECT * FROM `tp_spec` WHERE `id` IN (2,1) ORDER BY `order` DESC,`id` ASC [ RunTime:0.000223s ]
SHOW FULL COLUMNS FROM `tp_spec_image` [ RunTime:0.000414s ]
SELECT * FROM `tp_spec_image` WHERE `goods_id` = 295 [ RunTime:0.000509s ]