SHOW FULL COLUMNS FROM `tp_config` [ RunTime:0.000655s ]
SELECT * FROM `tp_config` [ RunTime:0.000440s ]
SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.000602s ]
SELECT * FROM `tp_goods_category` WHERE `is_show` = 1 ORDER BY `sort_order` [ RunTime:0.002325s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.000759s ]
SELECT `id`,`cat_id`,`logo`,`is_hot` FROM `tp_brand` WHERE ( cat_id > 0 ) [ RunTime:0.000303s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.000689s ]
SELECT * FROM `tp_goods` WHERE `goods_id` = 297 LIMIT 1 [ RunTime:0.000436s ]
UPDATE `tp_goods` SET `click_count` = 57 WHERE `goods_id` = 297 [ RunTime:0.002924s ]
SHOW FULL COLUMNS FROM `tp_prom_order` [ RunTime:0.000652s ]
SELECT * FROM `tp_prom_order` WHERE `start_time` <= 1736953264 AND `end_time` > 1736953264 AND `is_close` = 0 ORDER BY `id` DESC LIMIT 3 [ RunTime:0.000341s ]
SHOW FULL COLUMNS FROM `tp_goods_images` [ RunTime:0.000476s ]
SELECT * FROM `tp_goods_images` WHERE `goods_id` = 297 [ RunTime:0.000284s ]
SHOW FULL COLUMNS FROM `tp_ad_goods` [ RunTime:0.000586s ]
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 > 1736953264 AND g.start_time <1736953264 and( c.goods_id = 297 OR c.goods_id is null) ) GROUP BY `c`.`goods_id` ORDER BY `c`.`goods_id` ASC,`g`.`orderby` DESC LIMIT 1 [ RunTime:0.000379s ]
SHOW FULL COLUMNS FROM `tp_comment` [ RunTime:0.000549s ]
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` = 297 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000394s ]
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` = 297 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000420s ]
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` = 297 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000420s ]
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` = 297 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000342s ]
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` = 297 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000345s ]
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` = 297 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000307s ]
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` = 297 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000305s ]
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` = 297 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000329s ]
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` = 297 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` = 297 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000310s ]
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` = 297 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000317s ]
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` = 297 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000299s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 287 LIMIT 1 [ RunTime:0.000241s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 289 LIMIT 1 [ RunTime:0.000271s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 290 LIMIT 1 [ RunTime:0.000233s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 291 LIMIT 1 [ RunTime:0.000227s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 292 LIMIT 1 [ RunTime:0.000200s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 297 LIMIT 1 [ RunTime:0.000215s ]
SHOW FULL COLUMNS FROM `tp_goods_attr` [ RunTime:0.000544s ]
SELECT * FROM `tp_goods_attr` INNER JOIN `tp_goods_attribute` `b` ON `tp_goods_attr`.`attr_id`=`b`.`attr_id` WHERE `goods_id` = 297 AND `attr_index` = 1 ORDER BY `b`.`order` DESC [ RunTime:0.000606s ]
SHOW FULL COLUMNS FROM `tp_goods_attribute` [ RunTime:0.000397s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 21 LIMIT 1 [ RunTime:0.000283s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 20 LIMIT 1 [ RunTime:0.000269s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 19 LIMIT 1 [ RunTime:0.000246s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 18 LIMIT 1 [ RunTime:0.000235s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 17 LIMIT 1 [ RunTime:0.000223s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 22 LIMIT 1 [ RunTime:0.000217s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 23 LIMIT 1 [ RunTime:0.000196s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 57 LIMIT 1 [ RunTime:0.000212s ]
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` = 297 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000335s ]
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` = 297 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000359s ]
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` = 297 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000307s ]
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` = 297 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000303s ]
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` = 297 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000429s ]
SHOW FULL COLUMNS FROM `tp_spec_goods_price` [ RunTime:0.000617s ]
SELECT * FROM `tp_spec_goods_price` WHERE `goods_id` = 297 AND `goods_id` = 297 ORDER BY `item_id` [ RunTime:0.000414s ]
SELECT `key` FROM `tp_spec_goods_price` WHERE `goods_id` = 297 [ RunTime:0.000333s ]
SHOW FULL COLUMNS FROM `tp_spec_item` [ RunTime:0.000468s ]
SELECT * FROM `tp_spec_item` WHERE `id` IN (106,109,107,108,110,111) ORDER BY `order_index` ASC [ RunTime:0.000303s ]
SHOW FULL COLUMNS FROM `tp_spec` [ RunTime:0.000447s ]
SELECT * FROM `tp_spec` WHERE `id` IN (27,28) ORDER BY `order` DESC,`id` ASC [ RunTime:0.000324s ]
SELECT `key` FROM `tp_spec_goods_price` WHERE `goods_id` = 297 [ RunTime:0.000374s ]
SELECT * FROM `tp_spec_item` WHERE `id` IN (106,109,107,108,110,111) ORDER BY `order_index` ASC [ RunTime:0.000271s ]
SELECT * FROM `tp_spec` WHERE `id` IN (27,28) ORDER BY `order` DESC,`id` ASC [ RunTime:0.000279s ]
SHOW FULL COLUMNS FROM `tp_spec_image` [ RunTime:0.000433s ]
SELECT * FROM `tp_spec_image` WHERE `goods_id` = 297 [ RunTime:0.000477s ]