[ DB ] CONNECT:[ UseTime:0.000349s ] mysql:host=127.0.0.1;port=3306;dbname=bb2_tadiao;charset=utf8
[ SQL ] SHOW COLUMNS FROM `tp_goods` [ RunTime:0.000919s ]
[ SQL ] SELECT * FROM `tp_goods` WHERE `goods_id` = 52 LIMIT 1 [ RunTime:0.000563s ]
[ SQL ] UPDATE `tp_goods` SET `click_count`=837 WHERE `goods_id` = 52 [ RunTime:0.009104s ]
[ SQL ] SHOW COLUMNS FROM `tp_goods_attribute` [ RunTime:0.000594s ]
[ SQL ] SELECT `attr_id`,`attr_name` FROM `tp_goods_attribute` [ RunTime:0.000225s ]
[ SQL ] SHOW COLUMNS FROM `tp_spec_goods_price` [ RunTime:0.000485s ]
[ SQL ] SELECT `key`,`price`,`store_count`,`item_id`,`prom_id` FROM `tp_spec_goods_price` WHERE `goods_id` = 52 [ RunTime:0.000360s ]
[ SQL ] SELECT GROUP_CONCAT(`key` ORDER BY store_count desc SEPARATOR '_') FROM `tp_spec_goods_price` WHERE `goods_id` = 52 LIMIT 1 [ RunTime:0.000288s ]
[ SQL ] SHOW COLUMNS FROM `tp_goods_collect` [ RunTime:0.000518s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `tp_goods_collect` WHERE `goods_id` = 52 AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000255s ]
[ SQL ] SHOW COLUMNS FROM `tp_coupon` [ RunTime:0.000539s ]
[ 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` <= 1748071804 AND `send_end_time` >= 1748071804 AND `c`.`store_id` IN ('-1',1) AND ( createnum>send_num or createnum=0 ) [ RunTime:0.000412s ]
[ SQL ] SHOW COLUMNS FROM `tp_prom_goods` [ RunTime:0.000502s ]
[ SQL ] SELECT * FROM `tp_prom_goods` WHERE `status` = 1 AND `start_time` <= 1748071804 AND `end_time` >= 1748071804 AND `store_id` = 1 AND `id` = 0 LIMIT 1 [ RunTime:0.000270s ]
[ SQL ] SHOW COLUMNS FROM `tp_prom_order` [ RunTime:0.000453s ]
[ SQL ] SELECT * FROM `tp_prom_order` WHERE `status` = 1 AND `start_time` <= 1748071804 AND `end_time` >= 1748071804 AND `store_id` = 1 ORDER BY `orderby` [ RunTime:0.000299s ]
[ SQL ] SELECT * FROM `tp_prom_order` WHERE `start_time` <= 1748071804 AND `end_time` > 1748071804 AND `status` = 1 AND `store_id` = 1 ORDER BY id desc LIMIT 3 [ RunTime:0.000275s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `tp_goods` WHERE `store_id` = 1 AND `is_on_sale` = 1 LIMIT 1 [ RunTime:0.000339s ]
[ SQL ] SHOW COLUMNS FROM `tp_goods_attr` [ RunTime:0.000483s ]
[ 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` = 52 ORDER BY tp_goods_attribute.order DESC [ RunTime:0.003193s ]
[ SQL ] SHOW COLUMNS FROM `tp_config` [ RunTime:0.000441s ]
[ SQL ] SELECT * FROM `tp_config` WHERE `inc_type` = 'shopping' [ RunTime:0.000360s ]
[ SQL ] SHOW COLUMNS FROM `tp_goods_images` [ RunTime:0.000438s ]
[ SQL ] SELECT * FROM `tp_goods_images` WHERE `goods_id` = 52 ORDER BY img_sort asc [ RunTime:0.000263s ]
[ SQL ] SHOW COLUMNS FROM `tp_store` [ RunTime:0.000861s ]
[ SQL ] SELECT * FROM `tp_store` WHERE `store_id` = 1 LIMIT 1 [ RunTime:0.000531s ]
[ SQL ] SHOW COLUMNS FROM `tp_comment` [ RunTime:0.000554s ]
[ 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` = 52 AND `deleted` = 0 AND `parent_id` = 0 GROUP BY `goods_id` LIMIT 1 [ RunTime:0.013628s ]
[ 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` = 52 AND `deleted` = 0 AND `parent_id` = 0 GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000477s ]
[ 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` = 52 AND `deleted` = 0 AND `parent_id` = 0 GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000476s ]
[ 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` = 52 AND `deleted` = 0 AND `parent_id` = 0 GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000355s ]
[ 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` = 52 AND `deleted` = 0 AND `parent_id` = 0 GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000355s ]
[ 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` = 52 AND `deleted` = 0 AND `parent_id` = 0 GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000352s ]
[ 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` = 52 AND `deleted` = 0 AND `parent_id` = 0 GROUP BY `goods_id` LIMIT 1 [ RunTime:0.000395s ]
[ SQL ] SELECT * FROM tp_goods WHERE ( is_recommend=1 and is_on_sale=1 ) ORDER BY goods_id DESC LIMIT 0,6 [ RunTime:0.000551s ]
[ SQL ] SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 52 LIMIT 1 [ RunTime:0.000237s ]
[ SQL ] SELECT * FROM `tp_config` WHERE `inc_type` = 'oss' [ RunTime:0.000375s ]