SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.004151s ]
SELECT * FROM `tp_goods` WHERE `goods_id` = 306 LIMIT 1 [ RunTime:0.000429s ]
UPDATE `tp_goods` SET `click_count` = 81 WHERE `goods_id` = 306 [ RunTime:0.000227s ]
SHOW FULL COLUMNS FROM `tp_prom_order` [ RunTime:0.003355s ]
SELECT * FROM `tp_prom_order` WHERE `start_time` <= 1746540732 AND `end_time` > 1746540732 AND `is_close` = 0 ORDER BY `id` DESC LIMIT 3 [ RunTime:0.000351s ]
SELECT `goods_id`,`goods_name`,`shop_price` FROM `tp_goods` WHERE ( is_recommend=1 and is_on_sale=1 and cat_id = 359 ) LIMIT 9 [ RunTime:0.000333s ]
SHOW FULL COLUMNS FROM `tp_goods_images` [ RunTime:0.003569s ]
SELECT * FROM `tp_goods_images` WHERE `goods_id` = 306 [ RunTime:0.000248s ]
SHOW FULL COLUMNS FROM `tp_ad_goods` [ RunTime:0.003140s ]
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 > 1746540732 AND g.start_time <1746540732 and( c.goods_id = 306 OR c.goods_id is null) ) GROUP BY `c`.`goods_id` ORDER BY `c`.`goods_id` ASC,`g`.`orderby` DESC LIMIT 1 [ RunTime:0.000331s ]
SHOW FULL COLUMNS FROM `tp_comment` [ RunTime:0.004661s ]
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` = 306 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000344s ]
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` = 306 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000318s ]
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` = 306 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000241s ]
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` = 306 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000238s ]
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` = 306 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000199s ]
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` = 306 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000201s ]
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` = 306 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000191s ]
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` = 306 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` = 306 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000191s ]
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` = 306 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` = 306 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000195s ]
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` = 306 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000191s ]
SHOW FULL COLUMNS FROM `tp_goods_attr` [ RunTime:0.003241s ]
SELECT * FROM `tp_goods_attr` INNER JOIN `tp_goods_attribute` `b` ON `tp_goods_attr`.`attr_id`=`b`.`attr_id` WHERE `goods_id` = 306 AND `attr_index` = 1 ORDER BY `b`.`order` DESC [ RunTime:0.001823s ]
SHOW FULL COLUMNS FROM `tp_goods_attribute` [ RunTime:0.003075s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 76 LIMIT 1 [ RunTime:0.000282s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 77 LIMIT 1 [ RunTime:0.000163s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 78 LIMIT 1 [ RunTime:0.000149s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 79 LIMIT 1 [ RunTime:0.000131s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 80 LIMIT 1 [ RunTime:0.000128s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 81 LIMIT 1 [ RunTime:0.000134s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 82 LIMIT 1 [ RunTime:0.000124s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 86 LIMIT 1 [ RunTime:0.000132s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 88 LIMIT 1 [ RunTime:0.000155s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 89 LIMIT 1 [ RunTime:0.000164s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 90 LIMIT 1 [ RunTime:0.000191s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 91 LIMIT 1 [ RunTime:0.000167s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 92 LIMIT 1 [ RunTime:0.000172s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 93 LIMIT 1 [ RunTime:0.000205s ]
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` = 306 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000325s ]
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` = 306 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000272s ]
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` = 306 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` = 306 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000300s ]
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` = 306 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000344s ]
SHOW FULL COLUMNS FROM `tp_spec_goods_price` [ RunTime:0.003559s ]
SELECT * FROM `tp_spec_goods_price` WHERE `goods_id` = 306 AND `goods_id` = 306 ORDER BY `item_id` [ RunTime:0.000400s ]
SELECT `key` FROM `tp_spec_goods_price` WHERE `goods_id` = 306 [ RunTime:0.000276s ]
SHOW FULL COLUMNS FROM `tp_spec_item` [ RunTime:0.002962s ]
SELECT * FROM `tp_spec_item` WHERE `id` IN (116,117) ORDER BY `order_index` ASC [ RunTime:0.000258s ]
SHOW FULL COLUMNS FROM `tp_spec` [ RunTime:0.002853s ]
SELECT * FROM `tp_spec` WHERE `id` = 39 ORDER BY `order` DESC,`id` ASC [ RunTime:0.000188s ]
SELECT `key` FROM `tp_spec_goods_price` WHERE `goods_id` = 306 [ RunTime:0.000228s ]
SELECT * FROM `tp_spec_item` WHERE `id` IN (116,117) ORDER BY `order_index` ASC [ RunTime:0.000199s ]
SELECT * FROM `tp_spec` WHERE `id` = 39 ORDER BY `order` DESC,`id` ASC [ RunTime:0.000139s ]
SHOW FULL COLUMNS FROM `tp_spec_image` [ RunTime:0.002885s ]
SELECT * FROM `tp_spec_image` WHERE `goods_id` = 306 [ RunTime:0.000537s ]