SHOW FULL COLUMNS FROM `config` [ RunTime:0.001385s ]
SELECT `config_value`,`config_key` FROM `config` [ RunTime:0.000173s ]
SHOW FULL COLUMNS FROM `language` [ RunTime:0.000699s ]
SELECT `language_name`,`language_id` FROM `language` [ RunTime:0.000188s ]
SHOW FULL COLUMNS FROM `product_category` [ RunTime:0.000698s ]
SELECT * FROM `product_category` WHERE `parent_id` = 0 AND `category_display` = 1 ORDER BY `category_sort` [ RunTime:0.000270s ]
SHOW FULL COLUMNS FROM `product_category_language` [ RunTime:0.000700s ]
SELECT `language_value`,`language_key` FROM `product_category_language` WHERE `category_id` = 2 AND `language_id` = 1 [ RunTime:0.000356s ]
SELECT COUNT(*) AS think_count FROM `product_category` WHERE `parent_id` = 2 LIMIT 1 [ RunTime:0.000166s ]
SELECT `language_value`,`language_key` FROM `product_category_language` WHERE `category_id` = 3 AND `language_id` = 1 [ RunTime:0.000192s ]
SELECT COUNT(*) AS think_count FROM `product_category` WHERE `parent_id` = 3 LIMIT 1 [ RunTime:0.000170s ]
SELECT `language_value`,`language_key` FROM `product_category_language` WHERE `category_id` = 5 AND `language_id` = 1 [ RunTime:0.000172s ]
SELECT COUNT(*) AS think_count FROM `product_category` WHERE `parent_id` = 5 LIMIT 1 [ RunTime:0.000151s ]
SELECT `language_value`,`language_key` FROM `product_category_language` WHERE `category_id` = 4 AND `language_id` = 1 [ RunTime:0.000172s ]
SELECT COUNT(*) AS think_count FROM `product_category` WHERE `parent_id` = 4 LIMIT 1 [ RunTime:0.000195s ]
SELECT `language_value`,`language_key` FROM `product_category_language` WHERE `category_id` = 1 AND `language_id` = 1 [ RunTime:0.000172s ]
SELECT COUNT(*) AS think_count FROM `product_category` WHERE `parent_id` = 1 LIMIT 1 [ RunTime:0.000150s ]
SELECT `language_value`,`language_key` FROM `product_category_language` WHERE `category_id` = 6 AND `language_id` = 1 [ RunTime:0.000170s ]
SELECT COUNT(*) AS think_count FROM `product_category` WHERE `parent_id` = 6 LIMIT 1 [ RunTime:0.000196s ]
SELECT `language_value`,`language_key` FROM `product_category_language` WHERE `category_id` = 7 AND `language_id` = 1 [ RunTime:0.000173s ]
SELECT COUNT(*) AS think_count FROM `product_category` WHERE `parent_id` = 7 LIMIT 1 [ RunTime:0.000151s ]
SHOW FULL COLUMNS FROM `product_brand` [ RunTime:0.000777s ]
SELECT * FROM `product_brand` WHERE `brand_display` = 1 ORDER BY `brand_sort` [ RunTime:0.000210s ]
SHOW FULL COLUMNS FROM `product_brand_language` [ RunTime:0.000757s ]
SELECT `language_value`,`language_key` FROM `product_brand_language` WHERE `brand_id` = 1 AND `language_id` = 1 [ RunTime:0.000220s ]
SELECT `language_value`,`language_key` FROM `product_brand_language` WHERE `brand_id` = 2 AND `language_id` = 1 [ RunTime:0.000204s ]
SELECT `language_value`,`language_key` FROM `product_brand_language` WHERE `brand_id` = 5 AND `language_id` = 1 [ RunTime:0.000214s ]
SELECT `language_value`,`language_key` FROM `product_brand_language` WHERE `brand_id` = 6 AND `language_id` = 1 [ RunTime:0.000182s ]
SELECT `language_value`,`language_key` FROM `product_brand_language` WHERE `brand_id` = 7 AND `language_id` = 1 [ RunTime:0.000181s ]
SELECT `language_value`,`language_key` FROM `product_brand_language` WHERE `brand_id` = 3 AND `language_id` = 1 [ RunTime:0.000236s ]
SELECT `language_value`,`language_key` FROM `product_brand_language` WHERE `brand_id` = 4 AND `language_id` = 1 [ RunTime:0.000186s ]
SHOW FULL COLUMNS FROM `event` [ RunTime:0.000841s ]
SELECT * FROM `event` WHERE `event_display` = 1 ORDER BY `event_sort`,`event_id` DESC [ RunTime:0.000201s ]
SHOW FULL COLUMNS FROM `event_language` [ RunTime:0.000777s ]
SELECT `language_value`,`language_key` FROM `event_language` WHERE `event_id` = 6 AND `language_id` = 1 [ RunTime:0.000198s ]
SELECT `language_value`,`language_key` FROM `event_language` WHERE `event_id` = 5 AND `language_id` = 1 [ RunTime:0.000289s ]
SHOW FULL COLUMNS FROM `menu` [ RunTime:0.000840s ]
SELECT * FROM `menu` WHERE `parent_id` = 0 AND `menu_display` = 1 ORDER BY `menu_sort` [ RunTime:0.000257s ]
SHOW FULL COLUMNS FROM `menu_language` [ RunTime:0.000818s ]
SELECT `language_value`,`language_key` FROM `menu_language` WHERE `menu_id` = 4 AND `language_id` = 1 [ RunTime:0.000226s ]
SELECT COUNT(*) AS think_count FROM `menu` WHERE `parent_id` = 4 LIMIT 1 [ RunTime:0.000199s ]
SELECT * FROM `menu` WHERE `parent_id` = 4 AND `menu_display` = 1 ORDER BY `menu_sort` [ RunTime:0.000230s ]
SELECT `language_value`,`language_key` FROM `menu_language` WHERE `menu_id` = 8 AND `language_id` = 1 [ RunTime:0.000241s ]
SELECT COUNT(*) AS think_count FROM `menu` WHERE `parent_id` = 8 LIMIT 1 [ RunTime:0.000370s ]
SELECT `language_value`,`language_key` FROM `menu_language` WHERE `menu_id` = 13 AND `language_id` = 1 [ RunTime:0.000239s ]
SELECT COUNT(*) AS think_count FROM `menu` WHERE `parent_id` = 13 LIMIT 1 [ RunTime:0.000160s ]
SELECT `language_value`,`language_key` FROM `menu_language` WHERE `menu_id` = 14 AND `language_id` = 1 [ RunTime:0.000195s ]
SELECT COUNT(*) AS think_count FROM `menu` WHERE `parent_id` = 14 LIMIT 1 [ RunTime:0.000154s ]
SELECT `language_value`,`language_key` FROM `menu_language` WHERE `menu_id` = 9 AND `language_id` = 1 [ RunTime:0.000240s ]
SELECT COUNT(*) AS think_count FROM `menu` WHERE `parent_id` = 9 LIMIT 1 [ RunTime:0.000156s ]
SELECT `language_value`,`language_key` FROM `menu_language` WHERE `menu_id` = 10 AND `language_id` = 1 [ RunTime:0.000196s ]
SELECT COUNT(*) AS think_count FROM `menu` WHERE `parent_id` = 10 LIMIT 1 [ RunTime:0.000153s ]
SELECT `language_value`,`language_key` FROM `menu_language` WHERE `menu_id` = 15 AND `language_id` = 1 [ RunTime:0.000313s ]
SELECT COUNT(*) AS think_count FROM `menu` WHERE `parent_id` = 15 LIMIT 1 [ RunTime:0.000167s ]
SELECT `language_value`,`language_key` FROM `menu_language` WHERE `menu_id` = 24 AND `language_id` = 1 [ RunTime:0.000195s ]
SELECT COUNT(*) AS think_count FROM `menu` WHERE `parent_id` = 24 LIMIT 1 [ RunTime:0.000151s ]
SHOW FULL COLUMNS FROM `template_article` [ RunTime:0.000868s ]
SELECT * FROM `template_article` WHERE `display_header` = 1 ORDER BY `article_sort` [ RunTime:0.000270s ]
SHOW FULL COLUMNS FROM `template_article_category` [ RunTime:0.000875s ]
SELECT * FROM `template_article_category` WHERE `display_footer` = 1 ORDER BY `category_sort` [ RunTime:0.000221s ]
SHOW FULL COLUMNS FROM `template_article_category_language` [ RunTime:0.000816s ]
SELECT `language_value`,`language_key` FROM `template_article_category_language` WHERE `category_id` = 2 AND `language_id` = 1 [ RunTime:0.000242s ]
SELECT * FROM `template_article` WHERE `category_id` = 2 AND `display_footer` = 1 ORDER BY `article_sort` [ RunTime:0.000202s ]
SHOW FULL COLUMNS FROM `template_article_language` [ RunTime:0.000689s ]
SELECT `language_value`,`language_key` FROM `template_article_language` WHERE `article_id` = 1 AND `language_id` = 1 [ RunTime:0.005918s ]
SELECT `language_value`,`language_key` FROM `template_article_language` WHERE `article_id` = 23 AND `language_id` = 1 [ RunTime:0.002932s ]
SELECT `language_value`,`language_key` FROM `template_article_language` WHERE `article_id` = 26 AND `language_id` = 1 [ RunTime:0.002124s ]
SELECT `language_value`,`language_key` FROM `template_article_language` WHERE `article_id` = 3 AND `language_id` = 1 [ RunTime:0.002004s ]
SELECT `language_value`,`language_key` FROM `template_article_language` WHERE `article_id` = 22 AND `language_id` = 1 [ RunTime:0.001792s ]
SELECT `language_value`,`language_key` FROM `template_article_category_language` WHERE `category_id` = 3 AND `language_id` = 1 [ RunTime:0.000359s ]
SELECT * FROM `template_article` WHERE `category_id` = 3 AND `display_footer` = 1 ORDER BY `article_sort` [ RunTime:0.000247s ]
SELECT `language_value`,`language_key` FROM `template_article_language` WHERE `article_id` = 5 AND `language_id` = 1 [ RunTime:0.001662s ]
SELECT `language_value`,`language_key` FROM `template_article_language` WHERE `article_id` = 6 AND `language_id` = 1 [ RunTime:0.001653s ]
SELECT `language_value`,`language_key` FROM `template_article_language` WHERE `article_id` = 8 AND `language_id` = 1 [ RunTime:0.001616s ]
SHOW FULL COLUMNS FROM `user_rank` [ RunTime:0.001417s ]
SELECT * FROM `user_rank` ORDER BY `rank_id` DESC [ RunTime:0.000221s ]
SHOW FULL COLUMNS FROM `user_rank_language` [ RunTime:0.000693s ]
SELECT `language_value`,`language_key` FROM `user_rank_language` WHERE `rank_id` = 3 AND `language_id` = 1 [ RunTime:0.000238s ]
SELECT `language_value`,`language_key` FROM `user_rank_language` WHERE `rank_id` = 2 AND `language_id` = 1 [ RunTime:0.000167s ]
SELECT `language_value`,`language_key` FROM `user_rank_language` WHERE `rank_id` = 1 AND `language_id` = 1 [ RunTime:0.000164s ]
SHOW FULL COLUMNS FROM `user_type` [ RunTime:0.000799s ]
SELECT `type_code`,`type_id` FROM `user_type` [ RunTime:0.000137s ]
SHOW FULL COLUMNS FROM `user` [ RunTime:0.002136s ]
SELECT * FROM `user` WHERE `user_id` IS NULL LIMIT 1 [ RunTime:0.000261s ]
SHOW FULL COLUMNS FROM `cart` [ RunTime:0.000819s ]
SELECT * FROM `cart` WHERE `session_id` = '6d9b27ee2f5b3f98f21990d0531f16cf' [ RunTime:0.002507s ]
DELETE FROM `cart` WHERE `session_id` = '6d9b27ee2f5b3f98f21990d0531f16cf' [ RunTime:0.002807s ]
SELECT `product_id` FROM `cart` WHERE `session_id` = '6d9b27ee2f5b3f98f21990d0531f16cf' [ RunTime:0.000255s ]
SELECT `c`.*,`p`.`product_image`,`p`.`product_price`,`p`.`is_discount`,`p`.`discount_start`,`p`.`discount_end`,`p`.`discount_price`,`p`.`product_weight` FROM `cart` `c` INNER JOIN `product` `p` ON `c`.`product_id`=`p`.`product_id` WHERE `c`.`session_id` = '6d9b27ee2f5b3f98f21990d0531f16cf' [ RunTime:0.000367s ]
SHOW FULL COLUMNS FROM `shipping` [ RunTime:0.001681s ]
SELECT * FROM `shipping` WHERE `shipping_id` = 4 LIMIT 1 [ RunTime:0.004880s ]
SELECT DISTINCT `p`.`vendor_id` FROM `cart` `c` INNER JOIN `product` `p` ON `c`.`product_id`=`p`.`product_id` WHERE `c`.`session_id` = '6d9b27ee2f5b3f98f21990d0531f16cf' [ RunTime:0.001653s ]
SHOW FULL COLUMNS FROM `vendor_user` [ RunTime:0.002342s ]
SELECT * FROM `vendor_user` WHERE 0 = 1 ORDER BY `vendor_id` [ RunTime:0.000591s ]
SELECT * FROM `shipping` WHERE `shipping_display` = 1 ORDER BY `shipping_sort` [ RunTime:0.000321s ]
SHOW FULL COLUMNS FROM `shipping_language` [ RunTime:0.001694s ]
SELECT `language_value`,`language_key` FROM `shipping_language` WHERE `shipping_id` = 1 AND `language_id` = 1 [ RunTime:0.002549s ]
SELECT `language_value`,`language_key` FROM `shipping_language` WHERE `shipping_id` = 2 AND `language_id` = 1 [ RunTime:0.000242s ]
SELECT `language_value`,`language_key` FROM `shipping_language` WHERE `shipping_id` = 3 AND `language_id` = 1 [ RunTime:0.000200s ]
SELECT `language_value`,`language_key` FROM `shipping_language` WHERE `shipping_id` = 4 AND `language_id` = 1 [ RunTime:0.000275s ]
SELECT * FROM `user_rank` ORDER BY `rank_id` [ RunTime:0.000229s ]
SELECT `language_value`,`language_key` FROM `user_rank_language` WHERE `rank_id` = 1 AND `language_id` = 1 [ RunTime:0.000244s ]
SELECT `language_value`,`language_key` FROM `user_rank_language` WHERE `rank_id` = 2 AND `language_id` = 1 [ RunTime:0.000269s ]
SELECT `language_value`,`language_key` FROM `user_rank_language` WHERE `rank_id` = 3 AND `language_id` = 1 [ RunTime:0.000207s ]
SHOW FULL COLUMNS FROM `product` [ RunTime:0.002082s ]
SELECT * FROM `product` WHERE `product_display` = 1 AND `is_cart` > 0 ORDER BY `is_cart` [ RunTime:0.001779s ]
SHOW FULL COLUMNS FROM `product_language` [ RunTime:0.001041s ]
SELECT `language_value` FROM `product_language` WHERE `product_id` = 2 AND `language_id` = 1 AND `language_key` = 'product_name' LIMIT 1 [ RunTime:0.009146s ]
SELECT `language_value` FROM `product_language` WHERE `product_id` = 46 AND `language_id` = 1 AND `language_key` = 'product_name' LIMIT 1 [ RunTime:0.009474s ]
SELECT `language_value` FROM `product_language` WHERE `product_id` = 54 AND `language_id` = 1 AND `language_key` = 'product_name' LIMIT 1 [ RunTime:0.008902s ]
SELECT `language_value` FROM `product_language` WHERE `product_id` = 47 AND `language_id` = 1 AND `language_key` = 'product_name' LIMIT 1 [ RunTime:0.009736s ]
SELECT `language_value`,`brand_id` FROM `product_brand_language` WHERE `language_id` = 1 AND `language_key` = 'brand_name' [ RunTime:0.000885s ]
SELECT `language_value`,`category_id` FROM `product_category_language` WHERE `language_id` = 1 AND `language_key` = 'category_name' [ RunTime:0.000270s ]
SHOW FULL COLUMNS FROM `free` [ RunTime:0.002568s ]
SELECT * FROM `free` WHERE `strat_datetime` <= '2025-04-04 13:56:23' AND `end_datetime` >= '2025-04-04 13:56:23' AND `free_display` = 1 [ RunTime:0.005011s ]
SHOW FULL COLUMNS FROM `user_free` [ RunTime:0.002145s ]
SELECT `free_id` FROM `user_free` WHERE `user_id` IS NULL [ RunTime:0.001502s ]
SELECT * FROM `user_free` `uf` INNER JOIN `free` `f` ON `f`.`free_id`=`uf`.`free_id` WHERE `uf`.`user_id` IS NULL AND `uf`.`is_used` = '0' AND `f`.`strat_datetime` <= '2025-04-04 13:56:23' AND `f`.`end_datetime` >= '2025-04-04 13:56:23' ORDER BY `uf`.`uf_id` [ RunTime:0.000328s ]
SHOW FULL COLUMNS FROM `coupon` [ RunTime:0.001737s ]
SELECT * FROM `coupon` WHERE `strat_datetime` <= '2025-04-04 13:56:23' AND `end_datetime` >= '2025-04-04 13:56:23' AND `coupon_display` = 1 [ RunTime:0.005427s ]
SHOW FULL COLUMNS FROM `user_coupon` [ RunTime:0.001670s ]
SELECT `coupon_id` FROM `user_coupon` WHERE `user_id` IS NULL [ RunTime:0.001057s ]
SELECT * FROM `user_coupon` `uc` INNER JOIN `coupon` `c` ON `c`.`coupon_id`=`uc`.`coupon_id` WHERE `uc`.`user_id` IS NULL AND `uc`.`is_used` = '0' AND `c`.`strat_datetime` <= '2025-04-04 13:56:23' AND `c`.`end_datetime` >= '2025-04-04 13:56:23' ORDER BY `uc`.`uc_id` [ RunTime:0.000264s ]
SHOW FULL COLUMNS FROM `order_info` [ RunTime:0.001856s ]
SELECT SUM(`product_total`) AS think_sum FROM `order_info` WHERE `user_id` IS NULL AND `payment_status` = 2 AND `create_time` >= '2024-04-04 13:56:23' LIMIT 1 [ RunTime:0.000235s ]