SHOW FULL COLUMNS FROM `config` [ RunTime:0.001168s ]
SELECT `config_value`,`config_key` FROM `config` [ RunTime:0.000241s ]
SHOW FULL COLUMNS FROM `language` [ RunTime:0.000779s ]
SELECT `language_name`,`language_id` FROM `language` [ RunTime:0.000200s ]
SHOW FULL COLUMNS FROM `product_category` [ RunTime:0.000811s ]
SELECT * FROM `product_category` WHERE `parent_id` = 0 AND `category_display` = 1 ORDER BY `category_sort` [ RunTime:0.000300s ]
SHOW FULL COLUMNS FROM `product_category_language` [ RunTime:0.000770s ]
SELECT `language_value`,`language_key` FROM `product_category_language` WHERE `category_id` = 2 AND `language_id` = 1 [ RunTime:0.000285s ]
SELECT COUNT(*) AS think_count FROM `product_category` WHERE `parent_id` = 2 LIMIT 1 [ RunTime:0.000252s ]
SELECT `language_value`,`language_key` FROM `product_category_language` WHERE `category_id` = 3 AND `language_id` = 1 [ RunTime:0.000262s ]
SELECT COUNT(*) AS think_count FROM `product_category` WHERE `parent_id` = 3 LIMIT 1 [ RunTime:0.000259s ]
SELECT `language_value`,`language_key` FROM `product_category_language` WHERE `category_id` = 5 AND `language_id` = 1 [ RunTime:0.000260s ]
SELECT COUNT(*) AS think_count FROM `product_category` WHERE `parent_id` = 5 LIMIT 1 [ RunTime:0.000232s ]
SELECT `language_value`,`language_key` FROM `product_category_language` WHERE `category_id` = 4 AND `language_id` = 1 [ RunTime:0.000289s ]
SELECT COUNT(*) AS think_count FROM `product_category` WHERE `parent_id` = 4 LIMIT 1 [ RunTime:0.000251s ]
SELECT `language_value`,`language_key` FROM `product_category_language` WHERE `category_id` = 1 AND `language_id` = 1 [ RunTime:0.000273s ]
SELECT COUNT(*) AS think_count FROM `product_category` WHERE `parent_id` = 1 LIMIT 1 [ RunTime:0.000267s ]
SELECT `language_value`,`language_key` FROM `product_category_language` WHERE `category_id` = 6 AND `language_id` = 1 [ RunTime:0.000272s ]
SELECT COUNT(*) AS think_count FROM `product_category` WHERE `parent_id` = 6 LIMIT 1 [ RunTime:0.000246s ]
SELECT `language_value`,`language_key` FROM `product_category_language` WHERE `category_id` = 7 AND `language_id` = 1 [ RunTime:0.000289s ]
SELECT COUNT(*) AS think_count FROM `product_category` WHERE `parent_id` = 7 LIMIT 1 [ RunTime:0.000246s ]
SHOW FULL COLUMNS FROM `product_brand` [ RunTime:0.000870s ]
SELECT * FROM `product_brand` WHERE `brand_display` = 1 ORDER BY `brand_sort` [ RunTime:0.000306s ]
SHOW FULL COLUMNS FROM `product_brand_language` [ RunTime:0.000779s ]
SELECT `language_value`,`language_key` FROM `product_brand_language` WHERE `brand_id` = 1 AND `language_id` = 1 [ RunTime:0.000310s ]
SELECT `language_value`,`language_key` FROM `product_brand_language` WHERE `brand_id` = 2 AND `language_id` = 1 [ RunTime:0.000278s ]
SELECT `language_value`,`language_key` FROM `product_brand_language` WHERE `brand_id` = 5 AND `language_id` = 1 [ RunTime:0.000275s ]
SELECT `language_value`,`language_key` FROM `product_brand_language` WHERE `brand_id` = 6 AND `language_id` = 1 [ RunTime:0.000319s ]
SELECT `language_value`,`language_key` FROM `product_brand_language` WHERE `brand_id` = 7 AND `language_id` = 1 [ RunTime:0.000283s ]
SELECT `language_value`,`language_key` FROM `product_brand_language` WHERE `brand_id` = 3 AND `language_id` = 1 [ RunTime:0.000276s ]
SELECT `language_value`,`language_key` FROM `product_brand_language` WHERE `brand_id` = 4 AND `language_id` = 1 [ RunTime:0.000296s ]
SHOW FULL COLUMNS FROM `event` [ RunTime:0.000811s ]
SELECT * FROM `event` WHERE `event_display` = 1 ORDER BY `event_sort`,`event_id` DESC [ RunTime:0.000273s ]
SHOW FULL COLUMNS FROM `event_language` [ RunTime:0.000752s ]
SELECT `language_value`,`language_key` FROM `event_language` WHERE `event_id` = 6 AND `language_id` = 1 [ RunTime:0.000251s ]
SELECT `language_value`,`language_key` FROM `event_language` WHERE `event_id` = 5 AND `language_id` = 1 [ RunTime:0.000240s ]
SHOW FULL COLUMNS FROM `menu` [ RunTime:0.001098s ]
SELECT * FROM `menu` WHERE `parent_id` = 0 AND `menu_display` = 1 ORDER BY `menu_sort` [ RunTime:0.000273s ]
SHOW FULL COLUMNS FROM `menu_language` [ RunTime:0.000738s ]
SELECT `language_value`,`language_key` FROM `menu_language` WHERE `menu_id` = 4 AND `language_id` = 1 [ RunTime:0.000282s ]
SELECT COUNT(*) AS think_count FROM `menu` WHERE `parent_id` = 4 LIMIT 1 [ RunTime:0.000226s ]
SELECT * FROM `menu` WHERE `parent_id` = 4 AND `menu_display` = 1 ORDER BY `menu_sort` [ RunTime:0.000260s ]
SELECT `language_value`,`language_key` FROM `menu_language` WHERE `menu_id` = 8 AND `language_id` = 1 [ RunTime:0.000273s ]
SELECT COUNT(*) AS think_count FROM `menu` WHERE `parent_id` = 8 LIMIT 1 [ RunTime:0.000240s ]
SELECT `language_value`,`language_key` FROM `menu_language` WHERE `menu_id` = 13 AND `language_id` = 1 [ RunTime:0.000291s ]
SELECT COUNT(*) AS think_count FROM `menu` WHERE `parent_id` = 13 LIMIT 1 [ RunTime:0.000237s ]
SELECT `language_value`,`language_key` FROM `menu_language` WHERE `menu_id` = 14 AND `language_id` = 1 [ RunTime:0.000310s ]
SELECT COUNT(*) AS think_count FROM `menu` WHERE `parent_id` = 14 LIMIT 1 [ RunTime:0.000235s ]
SELECT `language_value`,`language_key` FROM `menu_language` WHERE `menu_id` = 9 AND `language_id` = 1 [ RunTime:0.000290s ]
SELECT COUNT(*) AS think_count FROM `menu` WHERE `parent_id` = 9 LIMIT 1 [ RunTime:0.000254s ]
SELECT `language_value`,`language_key` FROM `menu_language` WHERE `menu_id` = 10 AND `language_id` = 1 [ RunTime:0.000289s ]
SELECT COUNT(*) AS think_count FROM `menu` WHERE `parent_id` = 10 LIMIT 1 [ RunTime:0.000229s ]
SELECT `language_value`,`language_key` FROM `menu_language` WHERE `menu_id` = 15 AND `language_id` = 1 [ RunTime:0.000311s ]
SELECT COUNT(*) AS think_count FROM `menu` WHERE `parent_id` = 15 LIMIT 1 [ RunTime:0.000244s ]
SELECT `language_value`,`language_key` FROM `menu_language` WHERE `menu_id` = 24 AND `language_id` = 1 [ RunTime:0.000296s ]
SELECT COUNT(*) AS think_count FROM `menu` WHERE `parent_id` = 24 LIMIT 1 [ RunTime:0.000254s ]
SHOW FULL COLUMNS FROM `template_article` [ RunTime:0.000848s ]
SELECT * FROM `template_article` WHERE `display_header` = 1 ORDER BY `article_sort` [ RunTime:0.000312s ]
SHOW FULL COLUMNS FROM `template_article_category` [ RunTime:0.000762s ]
SELECT * FROM `template_article_category` WHERE `display_footer` = 1 ORDER BY `category_sort` [ RunTime:0.000267s ]
SHOW FULL COLUMNS FROM `template_article_category_language` [ RunTime:0.000738s ]
SELECT `language_value`,`language_key` FROM `template_article_category_language` WHERE `category_id` = 2 AND `language_id` = 1 [ RunTime:0.000272s ]
SELECT * FROM `template_article` WHERE `category_id` = 2 AND `display_footer` = 1 ORDER BY `article_sort` [ RunTime:0.000301s ]
SHOW FULL COLUMNS FROM `template_article_language` [ RunTime:0.000751s ]
SELECT `language_value`,`language_key` FROM `template_article_language` WHERE `article_id` = 1 AND `language_id` = 1 [ RunTime:0.004233s ]
SELECT `language_value`,`language_key` FROM `template_article_language` WHERE `article_id` = 23 AND `language_id` = 1 [ RunTime:0.001741s ]
SELECT `language_value`,`language_key` FROM `template_article_language` WHERE `article_id` = 26 AND `language_id` = 1 [ RunTime:0.001096s ]
SELECT `language_value`,`language_key` FROM `template_article_language` WHERE `article_id` = 3 AND `language_id` = 1 [ RunTime:0.001039s ]
SELECT `language_value`,`language_key` FROM `template_article_language` WHERE `article_id` = 22 AND `language_id` = 1 [ RunTime:0.001061s ]
SELECT `language_value`,`language_key` FROM `template_article_category_language` WHERE `category_id` = 3 AND `language_id` = 1 [ RunTime:0.000309s ]
SELECT * FROM `template_article` WHERE `category_id` = 3 AND `display_footer` = 1 ORDER BY `article_sort` [ RunTime:0.000309s ]
SELECT `language_value`,`language_key` FROM `template_article_language` WHERE `article_id` = 5 AND `language_id` = 1 [ RunTime:0.001010s ]
SELECT `language_value`,`language_key` FROM `template_article_language` WHERE `article_id` = 6 AND `language_id` = 1 [ RunTime:0.001038s ]
SELECT `language_value`,`language_key` FROM `template_article_language` WHERE `article_id` = 8 AND `language_id` = 1 [ RunTime:0.001030s ]
SHOW FULL COLUMNS FROM `user_rank` [ RunTime:0.001160s ]
SELECT * FROM `user_rank` ORDER BY `rank_id` DESC [ RunTime:0.000257s ]
SHOW FULL COLUMNS FROM `user_rank_language` [ RunTime:0.000758s ]
SELECT `language_value`,`language_key` FROM `user_rank_language` WHERE `rank_id` = 3 AND `language_id` = 1 [ RunTime:0.000300s ]
SELECT `language_value`,`language_key` FROM `user_rank_language` WHERE `rank_id` = 2 AND `language_id` = 1 [ RunTime:0.000276s ]
SELECT `language_value`,`language_key` FROM `user_rank_language` WHERE `rank_id` = 1 AND `language_id` = 1 [ RunTime:0.000270s ]
SHOW FULL COLUMNS FROM `user_type` [ RunTime:0.000741s ]
SELECT `type_code`,`type_id` FROM `user_type` [ RunTime:0.000209s ]
SHOW FULL COLUMNS FROM `user` [ RunTime:0.001220s ]
SELECT * FROM `user` WHERE `user_id` IS NULL LIMIT 1 [ RunTime:0.000278s ]
SHOW FULL COLUMNS FROM `cart` [ RunTime:0.000849s ]
SELECT * FROM `cart` WHERE `session_id` IS NULL [ RunTime:0.000405s ]
DELETE FROM `cart` WHERE `session_id` IS NULL [ RunTime:0.000170s ]
SELECT `product_id` FROM `cart` WHERE `session_id` IS NULL [ RunTime:0.000161s ]
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` IS NULL [ RunTime:0.000264s ]
SHOW FULL COLUMNS FROM `shipping` [ RunTime:0.000909s ]
SELECT * FROM `shipping` WHERE `shipping_id` = 4 LIMIT 1 [ RunTime:0.002481s ]
SELECT DISTINCT `p`.`vendor_id` FROM `cart` `c` INNER JOIN `product` `p` ON `c`.`product_id`=`p`.`product_id` WHERE `c`.`session_id` IS NULL [ RunTime:0.000210s ]
SHOW FULL COLUMNS FROM `vendor_user` [ RunTime:0.000801s ]
SELECT * FROM `vendor_user` WHERE 0 = 1 ORDER BY `vendor_id` [ RunTime:0.000382s ]
SELECT * FROM `shipping` WHERE `shipping_display` = 1 ORDER BY `shipping_sort` [ RunTime:0.000277s ]
SHOW FULL COLUMNS FROM `shipping_language` [ RunTime:0.000750s ]
SELECT `language_value`,`language_key` FROM `shipping_language` WHERE `shipping_id` = 1 AND `language_id` = 1 [ RunTime:0.000723s ]
SELECT `language_value`,`language_key` FROM `shipping_language` WHERE `shipping_id` = 2 AND `language_id` = 1 [ RunTime:0.000251s ]
SELECT `language_value`,`language_key` FROM `shipping_language` WHERE `shipping_id` = 3 AND `language_id` = 1 [ RunTime:0.000253s ]
SELECT `language_value`,`language_key` FROM `shipping_language` WHERE `shipping_id` = 4 AND `language_id` = 1 [ RunTime:0.000330s ]
SELECT * FROM `user_rank` ORDER BY `rank_id` [ RunTime:0.000218s ]
SELECT `language_value`,`language_key` FROM `user_rank_language` WHERE `rank_id` = 1 AND `language_id` = 1 [ RunTime:0.000248s ]
SELECT `language_value`,`language_key` FROM `user_rank_language` WHERE `rank_id` = 2 AND `language_id` = 1 [ RunTime:0.000258s ]
SELECT `language_value`,`language_key` FROM `user_rank_language` WHERE `rank_id` = 3 AND `language_id` = 1 [ RunTime:0.000258s ]
SHOW FULL COLUMNS FROM `product` [ RunTime:0.001259s ]
SELECT * FROM `product` WHERE `product_display` = 1 AND `is_cart` > 0 ORDER BY `is_cart` [ RunTime:0.000515s ]
SHOW FULL COLUMNS FROM `product_language` [ RunTime:0.000898s ]
SELECT `language_value` FROM `product_language` WHERE `product_id` = 2 AND `language_id` = 1 AND `language_key` = 'product_name' LIMIT 1 [ RunTime:0.007384s ]
SELECT `language_value` FROM `product_language` WHERE `product_id` = 46 AND `language_id` = 1 AND `language_key` = 'product_name' LIMIT 1 [ RunTime:0.005671s ]
SELECT `language_value` FROM `product_language` WHERE `product_id` = 54 AND `language_id` = 1 AND `language_key` = 'product_name' LIMIT 1 [ RunTime:0.005182s ]
SELECT `language_value` FROM `product_language` WHERE `product_id` = 47 AND `language_id` = 1 AND `language_key` = 'product_name' LIMIT 1 [ RunTime:0.007730s ]
SELECT `language_value`,`brand_id` FROM `product_brand_language` WHERE `language_id` = 1 AND `language_key` = 'brand_name' [ RunTime:0.003889s ]
SELECT `language_value`,`category_id` FROM `product_category_language` WHERE `language_id` = 1 AND `language_key` = 'category_name' [ RunTime:0.000218s ]
SHOW FULL COLUMNS FROM `free` [ RunTime:0.001216s ]
SELECT * FROM `free` WHERE `strat_datetime` <= '2025-04-03 18:51:36' AND `end_datetime` >= '2025-04-03 18:51:36' AND `free_display` = 1 [ RunTime:0.001023s ]
SHOW FULL COLUMNS FROM `user_free` [ RunTime:0.001003s ]
SELECT `free_id` FROM `user_free` WHERE `user_id` IS NULL [ RunTime:0.002003s ]
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-03 18:51:36' AND `f`.`end_datetime` >= '2025-04-03 18:51:36' ORDER BY `uf`.`uf_id` [ RunTime:0.000159s ]
SHOW FULL COLUMNS FROM `coupon` [ RunTime:0.001267s ]
SELECT * FROM `coupon` WHERE `strat_datetime` <= '2025-04-03 18:51:36' AND `end_datetime` >= '2025-04-03 18:51:36' AND `coupon_display` = 1 [ RunTime:0.002043s ]
SHOW FULL COLUMNS FROM `user_coupon` [ RunTime:0.000928s ]
SELECT `coupon_id` FROM `user_coupon` WHERE `user_id` IS NULL [ RunTime:0.000839s ]
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-03 18:51:36' AND `c`.`end_datetime` >= '2025-04-03 18:51:36' ORDER BY `uc`.`uc_id` [ RunTime:0.000435s ]
SHOW FULL COLUMNS FROM `order_info` [ RunTime:0.001376s ]
SELECT SUM(`product_total`) AS think_sum FROM `order_info` WHERE `user_id` IS NULL AND `payment_status` = 2 AND `create_time` >= '2024-04-03 18:51:36' LIMIT 1 [ RunTime:0.000384s ]