[ DB ] CONNECT:[ UseTime:0.000333s ] mysql:host=127.0.0.1;port=3306;dbname=bb2_tadiao;charset=utf8
[ SQL ] SHOW COLUMNS FROM `tp_goods` [ RunTime:0.000886s ]
[ SQL ] SELECT * FROM `tp_goods` WHERE `goods_id` = 19 LIMIT 1 [ RunTime:0.000556s ]
[ SQL ] UPDATE `tp_goods` SET `click_count`=1535 WHERE `goods_id` = 19 [ RunTime:0.002110s ]
[ SQL ] SHOW COLUMNS FROM `tp_goods_attribute` [ RunTime:0.000372s ]
[ SQL ] SELECT `attr_id`,`attr_name` FROM `tp_goods_attribute` [ RunTime:0.000160s ]
[ SQL ] SHOW COLUMNS FROM `tp_spec_goods_price` [ RunTime:0.000412s ]
[ SQL ] SELECT `key`,`price`,`store_count`,`item_id`,`prom_id` FROM `tp_spec_goods_price` WHERE `goods_id` = 19 [ RunTime:0.000195s ]
[ SQL ] SELECT GROUP_CONCAT(`key` ORDER BY store_count desc SEPARATOR '_') FROM `tp_spec_goods_price` WHERE `goods_id` = 19 LIMIT 1 [ RunTime:0.000206s ]
[ SQL ] SHOW COLUMNS FROM `tp_spec_image` [ RunTime:0.000350s ]
[ SQL ] SELECT `spec_image_id`,`src` FROM `tp_spec_image` WHERE `goods_id` = 19 AND ( src != '' ) [ RunTime:0.000176s ]
[ SQL ] SELECT a.name,a.order,b.* FROM tp_spec AS a INNER JOIN tp_spec_item AS b ON a.id = b.spec_id WHERE b.id IN(26) ORDER BY a.order DESC,b.id [ RunTime:0.000197s ]
[ SQL ] SHOW COLUMNS FROM `tp_goods_collect` [ RunTime:0.000367s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `tp_goods_collect` WHERE `goods_id` = 19 AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000184s ]
[ SQL ] SHOW COLUMNS FROM `tp_coupon` [ RunTime:0.000466s ]
[ SQL ] SELECT `c`.`id`,`c`.*,`gc`.`goods_id`,`gc`.`goods_category_id` FROM `tp_coupon` `c` LEFT JOIN `tp_goods_coupon` `gc` ON `gc`.`coupon_id`=`c`.`id` WHERE `type` = 2 AND `status` = 1 AND `send_start_time` <= 1748032928 AND `send_end_time` >= 1748032928 AND `c`.`store_id` IN ('-1',0) AND ( createnum>send_num or createnum=0 ) [ RunTime:0.000373s ]
[ SQL ] SHOW COLUMNS FROM `tp_prom_goods` [ RunTime:0.000441s ]
[ SQL ] SELECT * FROM `tp_prom_goods` WHERE `status` = 1 AND `start_time` <= 1748032928 AND `end_time` >= 1748032928 AND `store_id` = 0 AND `id` = 0 LIMIT 1 [ RunTime:0.000233s ]
[ SQL ] SHOW COLUMNS FROM `tp_prom_order` [ RunTime:0.000421s ]
[ SQL ] SELECT * FROM `tp_prom_order` WHERE `status` = 1 AND `start_time` <= 1748032928 AND `end_time` >= 1748032928 AND `store_id` = 0 ORDER BY `orderby` [ RunTime:0.000218s ]
[ SQL ] SELECT * FROM `tp_prom_order` WHERE `start_time` <= 1748032928 AND `end_time` > 1748032928 AND `status` = 1 AND `store_id` = 0 ORDER BY id desc LIMIT 3 [ RunTime:0.000206s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `tp_goods` WHERE `store_id` = 0 AND `is_on_sale` = 1 LIMIT 1 [ RunTime:0.000217s ]
[ SQL ] SHOW COLUMNS FROM `tp_goods_attr` [ RunTime:0.000362s ]
[ SQL ] SELECT * FROM `tp_goods_attr` LEFT JOIN `tp_goods_attribute` ON `tp_goods_attribute`.`attr_id`=`tp_goods_attr`.`attr_id` WHERE `tp_goods_attribute`.`attr_index` = 1 AND `tp_goods_attr`.`goods_id` = 19 ORDER BY tp_goods_attribute.order DESC [ RunTime:0.000381s ]
[ SQL ] SHOW COLUMNS FROM `tp_goods_images` [ RunTime:0.000403s ]
[ SQL ] SELECT * FROM `tp_goods_images` WHERE `goods_id` = 19 ORDER BY img_sort asc [ RunTime:0.005132s ]
[ SQL ] SHOW COLUMNS FROM `tp_store` [ RunTime:0.000728s ]
[ SQL ] SELECT * FROM `tp_store` WHERE `store_id` = 0 LIMIT 1 [ RunTime:0.000373s ]
[ SQL ] SHOW COLUMNS FROM `tp_comment` [ RunTime:0.000431s ]
[ SQL ] SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when goods_rank >= 4 and goods_rank <= 5 then 1 else 0 end) as high_sum,sum(case when goods_rank >= 3 and goods_rank <4 then 1 else 0 end) as center_sum,sum(case when goods_rank < 3 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 19 AND `deleted` = 0 AND `parent_id` = 0 GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000274s ]
[ SQL ] SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when goods_rank >= 4 and goods_rank <= 5 then 1 else 0 end) as high_sum,sum(case when goods_rank >= 3 and goods_rank <4 then 1 else 0 end) as center_sum,sum(case when goods_rank < 3 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 19 AND `deleted` = 0 AND `parent_id` = 0 GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000242s ]
[ SQL ] SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when goods_rank >= 4 and goods_rank <= 5 then 1 else 0 end) as high_sum,sum(case when goods_rank >= 3 and goods_rank <4 then 1 else 0 end) as center_sum,sum(case when goods_rank < 3 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 19 AND `deleted` = 0 AND `parent_id` = 0 GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000247s ]
[ SQL ] SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when goods_rank >= 4 and goods_rank <= 5 then 1 else 0 end) as high_sum,sum(case when goods_rank >= 3 and goods_rank <4 then 1 else 0 end) as center_sum,sum(case when goods_rank < 3 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 19 AND `deleted` = 0 AND `parent_id` = 0 GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000266s ]
[ SQL ] SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when goods_rank >= 4 and goods_rank <= 5 then 1 else 0 end) as high_sum,sum(case when goods_rank >= 3 and goods_rank <4 then 1 else 0 end) as center_sum,sum(case when goods_rank < 3 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 19 AND `deleted` = 0 AND `parent_id` = 0 GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000307s ]
[ SQL ] SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when goods_rank >= 4 and goods_rank <= 5 then 1 else 0 end) as high_sum,sum(case when goods_rank >= 3 and goods_rank <4 then 1 else 0 end) as center_sum,sum(case when goods_rank < 3 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 19 AND `deleted` = 0 AND `parent_id` = 0 GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000308s ]
[ SQL ] SELECT sum(case when img !='' and img not like 'N;%' then 1 else 0 end) as img_sum,sum(case when goods_rank >= 4 and goods_rank <= 5 then 1 else 0 end) as high_sum,sum(case when goods_rank >= 3 and goods_rank <4 then 1 else 0 end) as center_sum,sum(case when goods_rank < 3 then 1 else 0 end) as low_sum,count(comment_id) as total_sum FROM `tp_comment` WHERE `is_show` = 1 AND `goods_id` = 19 AND `deleted` = 0 AND `parent_id` = 0 GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000231s ]