SHOW FULL COLUMNS FROM `tp_config` [ RunTime:0.000778s ]
SELECT * FROM `tp_config` [ RunTime:0.000408s ]
SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.000676s ]
SELECT * FROM `tp_goods_category` WHERE `is_show` = 1 ORDER BY `sort_order` [ RunTime:0.002248s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.000701s ]
SELECT `id`,`cat_id`,`logo`,`is_hot` FROM `tp_brand` WHERE ( cat_id > 0 ) [ RunTime:0.000266s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.000811s ]
SELECT * FROM `tp_goods` WHERE `goods_id` = 221 LIMIT 1 [ RunTime:0.000471s ]
UPDATE `tp_goods` SET `click_count` = 80 WHERE `goods_id` = 221 [ RunTime:0.004305s ]
SHOW FULL COLUMNS FROM `tp_prom_order` [ RunTime:0.000660s ]
SELECT * FROM `tp_prom_order` WHERE `start_time` <= 1736952992 AND `end_time` > 1736952992 AND `is_close` = 0 ORDER BY `id` DESC LIMIT 3 [ RunTime:0.000370s ]
SHOW FULL COLUMNS FROM `tp_goods_images` [ RunTime:0.000493s ]
SELECT * FROM `tp_goods_images` WHERE `goods_id` = 221 [ RunTime:0.000288s ]
SHOW FULL COLUMNS FROM `tp_ad_goods` [ RunTime:0.000509s ]
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 > 1736952992 AND g.start_time <1736952992 and( c.goods_id = 221 OR c.goods_id is null) ) GROUP BY `c`.`goods_id` ORDER BY `c`.`goods_id` ASC,`g`.`orderby` DESC LIMIT 1 [ RunTime:0.000357s ]
SHOW FULL COLUMNS FROM `tp_comment` [ RunTime:0.000725s ]
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` = 221 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000612s ]
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` = 221 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000464s ]
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` = 221 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000370s ]
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` = 221 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000389s ]
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` = 221 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000354s ]
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` = 221 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000326s ]
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` = 221 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` = 221 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000378s ]
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` = 221 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000366s ]
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` = 221 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000412s ]
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` = 221 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` = 221 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000373s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 40 LIMIT 1 [ RunTime:0.000250s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 56 LIMIT 1 [ RunTime:0.000210s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 63 LIMIT 1 [ RunTime:0.000244s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 93 LIMIT 1 [ RunTime:0.000295s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 104 LIMIT 1 [ RunTime:0.000258s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 221 LIMIT 1 [ RunTime:0.000274s ]
SHOW FULL COLUMNS FROM `tp_goods_attr` [ RunTime:0.000638s ]
SELECT * FROM `tp_goods_attr` INNER JOIN `tp_goods_attribute` `b` ON `tp_goods_attr`.`attr_id`=`b`.`attr_id` WHERE `goods_id` = 221 AND `attr_index` = 1 ORDER BY `b`.`order` DESC [ RunTime:0.000552s ]
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` = 221 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000376s ]
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` = 221 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000370s ]
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` = 221 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000379s ]
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` = 221 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000362s ]
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` = 221 AND `username` <> 'admin' GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000374s ]
SHOW FULL COLUMNS FROM `tp_spec_goods_price` [ RunTime:0.000631s ]
SELECT * FROM `tp_spec_goods_price` WHERE `goods_id` = 221 AND `goods_id` = 221 ORDER BY `item_id` [ RunTime:0.000412s ]
SELECT `key` FROM `tp_spec_goods_price` WHERE `goods_id` = 221 [ RunTime:0.000324s ]
SHOW FULL COLUMNS FROM `tp_spec_item` [ RunTime:0.000437s ]
SELECT * FROM `tp_spec_item` WHERE `id` IN (43,44) ORDER BY `order_index` ASC [ RunTime:0.000331s ]
SHOW FULL COLUMNS FROM `tp_spec` [ RunTime:0.000454s ]
SELECT * FROM `tp_spec` WHERE `id` = 12 ORDER BY `order` DESC,`id` ASC [ RunTime:0.000227s ]
SELECT `key` FROM `tp_spec_goods_price` WHERE `goods_id` = 221 [ RunTime:0.000366s ]
SELECT * FROM `tp_spec_item` WHERE `id` IN (43,44) ORDER BY `order_index` ASC [ RunTime:0.000266s ]
SELECT * FROM `tp_spec` WHERE `id` = 12 ORDER BY `order` DESC,`id` ASC [ RunTime:0.000214s ]
SHOW FULL COLUMNS FROM `tp_spec_image` [ RunTime:0.000432s ]
SELECT * FROM `tp_spec_image` WHERE `goods_id` = 221 [ RunTime:0.000485s ]