SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.004256s ]
SELECT * FROM `tp_goods` WHERE `goods_id` = 296 LIMIT 1 [ RunTime:0.000397s ]
UPDATE `tp_goods` SET `click_count` = 72 WHERE `goods_id` = 296 [ RunTime:0.000213s ]
SHOW FULL COLUMNS FROM `tp_prom_order` [ RunTime:0.003546s ]
SELECT * FROM `tp_prom_order` WHERE `start_time` <= 1746527988 AND `end_time` > 1746527988 AND `is_close` = 0 ORDER BY `id` DESC LIMIT 3 [ RunTime:0.000311s ]
SELECT `goods_id`,`goods_name`,`shop_price` FROM `tp_goods` WHERE ( is_recommend=1 and is_on_sale=1 and cat_id = 292 ) LIMIT 9 [ RunTime:0.000276s ]
SHOW FULL COLUMNS FROM `tp_goods_images` [ RunTime:0.004219s ]
SELECT * FROM `tp_goods_images` WHERE `goods_id` = 296 [ RunTime:0.000265s ]
SHOW FULL COLUMNS FROM `tp_ad_goods` [ RunTime:0.003378s ]
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 > 1746527988 AND g.start_time <1746527988 and( c.goods_id = 296 OR c.goods_id is null) ) GROUP BY `c`.`goods_id` ORDER BY `c`.`goods_id` ASC,`g`.`orderby` DESC LIMIT 1 [ RunTime:0.000328s ]
SHOW FULL COLUMNS FROM `tp_comment` [ RunTime:0.004435s ]
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` = 296 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000339s ]
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` = 296 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000347s ]
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` = 296 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000315s ]
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` = 296 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000237s ]
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` = 296 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000217s ]
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` = 296 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000203s ]
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` = 296 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000197s ]
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` = 296 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000219s ]
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` = 296 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000211s ]
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` = 296 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000193s ]
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` = 296 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000202s ]
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` = 296 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000206s ]
SHOW FULL COLUMNS FROM `tp_goods_attr` [ RunTime:0.003320s ]
SELECT * FROM `tp_goods_attr` INNER JOIN `tp_goods_attribute` `b` ON `tp_goods_attr`.`attr_id`=`b`.`attr_id` WHERE `goods_id` = 296 AND `attr_index` = 1 ORDER BY `b`.`order` DESC [ RunTime:0.001914s ]
SHOW FULL COLUMNS FROM `tp_goods_attribute` [ RunTime:0.003173s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 43 LIMIT 1 [ RunTime:0.000213s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 44 LIMIT 1 [ RunTime:0.000160s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 45 LIMIT 1 [ RunTime:0.000136s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 46 LIMIT 1 [ RunTime:0.000143s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 47 LIMIT 1 [ RunTime:0.000233s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 48 LIMIT 1 [ RunTime:0.000161s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 49 LIMIT 1 [ RunTime:0.000200s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 50 LIMIT 1 [ RunTime:0.000169s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 51 LIMIT 1 [ RunTime:0.000183s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 52 LIMIT 1 [ RunTime:0.000139s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 53 LIMIT 1 [ RunTime:0.000136s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 54 LIMIT 1 [ RunTime:0.000164s ]
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` = 296 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000273s ]
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` = 296 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000244s ]
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` = 296 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000209s ]
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` = 296 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000207s ]
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` = 296 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000294s ]
SHOW FULL COLUMNS FROM `tp_spec_goods_price` [ RunTime:0.003217s ]
SELECT * FROM `tp_spec_goods_price` WHERE `goods_id` = 296 AND `goods_id` = 296 ORDER BY `item_id` [ RunTime:0.000384s ]
SELECT `key` FROM `tp_spec_goods_price` WHERE `goods_id` = 296 [ RunTime:0.000255s ]
SHOW FULL COLUMNS FROM `tp_spec_item` [ RunTime:0.003041s ]
SELECT * FROM `tp_spec_item` WHERE `id` IN (88,89,90,91,92,93) ORDER BY `order_index` ASC [ RunTime:0.000324s ]
SHOW FULL COLUMNS FROM `tp_spec` [ RunTime:0.003022s ]
SELECT * FROM `tp_spec` WHERE `id` = 33 ORDER BY `order` DESC,`id` ASC [ RunTime:0.000217s ]
SELECT `key` FROM `tp_spec_goods_price` WHERE `goods_id` = 296 [ RunTime:0.000251s ]
SELECT * FROM `tp_spec_item` WHERE `id` IN (88,89,90,91,92,93) ORDER BY `order_index` ASC [ RunTime:0.000231s ]
SELECT * FROM `tp_spec` WHERE `id` = 33 ORDER BY `order` DESC,`id` ASC [ RunTime:0.000196s ]
SHOW FULL COLUMNS FROM `tp_spec_image` [ RunTime:0.002993s ]
SELECT * FROM `tp_spec_image` WHERE `goods_id` = 296 [ RunTime:0.000374s ]