SHOW FULL COLUMNS FROM `tp_config` [ RunTime:0.000774s ]
SELECT * FROM `tp_config` [ RunTime:0.000365s ]
SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.000692s ]
SELECT * FROM `tp_goods_category` WHERE `is_show` = 1 ORDER BY `sort_order` [ RunTime:0.002408s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.000720s ]
SELECT `id`,`cat_id`,`logo`,`is_hot` FROM `tp_brand` WHERE ( cat_id > 0 ) [ RunTime:0.000274s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.000725s ]
SELECT * FROM `tp_goods` WHERE `goods_id` = 312 LIMIT 1 [ RunTime:0.000412s ]
UPDATE `tp_goods` SET `click_count` = 154 WHERE `goods_id` = 312 [ RunTime:0.002720s ]
SHOW FULL COLUMNS FROM `tp_prom_order` [ RunTime:0.000651s ]
SELECT * FROM `tp_prom_order` WHERE `start_time` <= 1736930025 AND `end_time` > 1736930025 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 = 303 ) LIMIT 9 [ RunTime:0.000387s ]
SHOW FULL COLUMNS FROM `tp_goods_images` [ RunTime:0.000528s ]
SELECT * FROM `tp_goods_images` WHERE `goods_id` = 312 [ RunTime:0.000305s ]
SHOW FULL COLUMNS FROM `tp_ad_goods` [ RunTime:0.000588s ]
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 > 1736930025 AND g.start_time <1736930025 and( c.goods_id = 312 OR c.goods_id is null) ) GROUP BY `c`.`goods_id` ORDER BY `c`.`goods_id` ASC,`g`.`orderby` DESC LIMIT 1 [ RunTime:0.000374s ]
SHOW FULL COLUMNS FROM `tp_comment` [ RunTime:0.000599s ]
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` = 312 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000454s ]
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` = 312 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` = 312 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000322s ]
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` = 312 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000364s ]
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` = 312 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000430s ]
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` = 312 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` = 312 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000327s ]
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` = 312 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` = 312 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000375s ]
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` = 312 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000324s ]
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` = 312 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000417s ]
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` = 312 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000342s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 283 LIMIT 1 [ RunTime:0.000239s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 286 LIMIT 1 [ RunTime:0.000222s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 293 LIMIT 1 [ RunTime:0.000230s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 294 LIMIT 1 [ RunTime:0.000235s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 298 LIMIT 1 [ RunTime:0.000182s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 299 LIMIT 1 [ RunTime:0.000218s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 302 LIMIT 1 [ RunTime:0.000194s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 303 LIMIT 1 [ RunTime:0.000199s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 304 LIMIT 1 [ RunTime:0.000220s ]
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` = 312 AND `attr_index` = 1 ORDER BY `b`.`order` DESC [ RunTime:0.000610s ]
SHOW FULL COLUMNS FROM `tp_goods_attribute` [ RunTime:0.000406s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 59 LIMIT 1 [ RunTime:0.000247s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 61 LIMIT 1 [ RunTime:0.000216s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 64 LIMIT 1 [ RunTime:0.000219s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 66 LIMIT 1 [ RunTime:0.000207s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 72 LIMIT 1 [ RunTime:0.000190s ]
SELECT * FROM `tp_goods_attribute` WHERE `attr_id` = 119 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` = 312 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000381s ]
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` = 312 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000331s ]
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` = 312 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000333s ]
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` = 312 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000338s ]
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` = 312 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000353s ]
SHOW FULL COLUMNS FROM `tp_spec_goods_price` [ RunTime:0.000563s ]
SELECT * FROM `tp_spec_goods_price` WHERE `goods_id` = 312 AND `goods_id` = 312 ORDER BY `item_id` [ RunTime:0.000403s ]
SELECT `key` FROM `tp_spec_goods_price` WHERE `goods_id` = 312 [ RunTime:0.000356s ]
SHOW FULL COLUMNS FROM `tp_spec_item` [ RunTime:0.000545s ]
SELECT * FROM `tp_spec_item` WHERE `id` IN (112,113,114,120) ORDER BY `order_index` ASC [ RunTime:0.000330s ]
SHOW FULL COLUMNS FROM `tp_spec` [ RunTime:0.000447s ]
SELECT * FROM `tp_spec` WHERE `id` = 37 ORDER BY `order` DESC,`id` ASC [ RunTime:0.000275s ]
SELECT `key` FROM `tp_spec_goods_price` WHERE `goods_id` = 312 [ RunTime:0.000369s ]
SELECT * FROM `tp_spec_item` WHERE `id` IN (112,113,114,120) ORDER BY `order_index` ASC [ RunTime:0.000358s ]
SELECT * FROM `tp_spec` WHERE `id` = 37 ORDER BY `order` DESC,`id` ASC [ RunTime:0.000264s ]
SHOW FULL COLUMNS FROM `tp_spec_image` [ RunTime:0.000531s ]
SELECT * FROM `tp_spec_image` WHERE `goods_id` = 312 [ RunTime:0.000568s ]