SHOW FULL COLUMNS FROM `config` [ RunTime:0.001511s ]
SELECT `config_value`,`config_key` FROM `config` [ RunTime:0.000201s ]
SHOW FULL COLUMNS FROM `language` [ RunTime:0.000719s ]
SELECT `language_name`,`language_id` FROM `language` [ RunTime:0.000233s ]
SHOW FULL COLUMNS FROM `product_category` [ RunTime:0.000695s ]
SELECT * FROM `product_category` WHERE `parent_id` = 0 AND `category_display` = 1 ORDER BY `category_sort` [ RunTime:0.000385s ]
SHOW FULL COLUMNS FROM `product_category_language` [ RunTime:0.000863s ]
SELECT `language_value`,`language_key` FROM `product_category_language` WHERE `category_id` = 2 AND `language_id` = 1 [ RunTime:0.000301s ]
SELECT COUNT(*) AS think_count FROM `product_category` WHERE `parent_id` = 2 LIMIT 1 [ RunTime:0.000275s ]
SELECT `language_value`,`language_key` FROM `product_category_language` WHERE `category_id` = 3 AND `language_id` = 1 [ RunTime:0.000292s ]
SELECT COUNT(*) AS think_count FROM `product_category` WHERE `parent_id` = 3 LIMIT 1 [ RunTime:0.000272s ]
SELECT `language_value`,`language_key` FROM `product_category_language` WHERE `category_id` = 5 AND `language_id` = 1 [ RunTime:0.000316s ]
SELECT COUNT(*) AS think_count FROM `product_category` WHERE `parent_id` = 5 LIMIT 1 [ RunTime:0.000235s ]
SELECT `language_value`,`language_key` FROM `product_category_language` WHERE `category_id` = 4 AND `language_id` = 1 [ RunTime:0.000307s ]
SELECT COUNT(*) AS think_count FROM `product_category` WHERE `parent_id` = 4 LIMIT 1 [ RunTime:0.000274s ]
SELECT `language_value`,`language_key` FROM `product_category_language` WHERE `category_id` = 1 AND `language_id` = 1 [ RunTime:0.000304s ]
SELECT COUNT(*) AS think_count FROM `product_category` WHERE `parent_id` = 1 LIMIT 1 [ RunTime:0.000260s ]
SELECT `language_value`,`language_key` FROM `product_category_language` WHERE `category_id` = 6 AND `language_id` = 1 [ RunTime:0.000277s ]
SELECT COUNT(*) AS think_count FROM `product_category` WHERE `parent_id` = 6 LIMIT 1 [ RunTime:0.000293s ]
SELECT `language_value`,`language_key` FROM `product_category_language` WHERE `category_id` = 7 AND `language_id` = 1 [ RunTime:0.000324s ]
SELECT COUNT(*) AS think_count FROM `product_category` WHERE `parent_id` = 7 LIMIT 1 [ RunTime:0.000303s ]
SHOW FULL COLUMNS FROM `product_brand` [ RunTime:0.001143s ]
SELECT * FROM `product_brand` WHERE `brand_display` = 1 ORDER BY `brand_sort` [ RunTime:0.000363s ]
SHOW FULL COLUMNS FROM `product_brand_language` [ RunTime:0.000981s ]
SELECT `language_value`,`language_key` FROM `product_brand_language` WHERE `brand_id` = 1 AND `language_id` = 1 [ RunTime:0.000314s ]
SELECT `language_value`,`language_key` FROM `product_brand_language` WHERE `brand_id` = 2 AND `language_id` = 1 [ RunTime:0.000289s ]
SELECT `language_value`,`language_key` FROM `product_brand_language` WHERE `brand_id` = 5 AND `language_id` = 1 [ RunTime:0.000258s ]
SELECT `language_value`,`language_key` FROM `product_brand_language` WHERE `brand_id` = 6 AND `language_id` = 1 [ RunTime:0.000340s ]
SELECT `language_value`,`language_key` FROM `product_brand_language` WHERE `brand_id` = 7 AND `language_id` = 1 [ RunTime:0.000286s ]
SELECT `language_value`,`language_key` FROM `product_brand_language` WHERE `brand_id` = 3 AND `language_id` = 1 [ RunTime:0.000275s ]
SELECT `language_value`,`language_key` FROM `product_brand_language` WHERE `brand_id` = 4 AND `language_id` = 1 [ RunTime:0.000329s ]
SHOW FULL COLUMNS FROM `event` [ RunTime:0.001040s ]
SELECT * FROM `event` WHERE `event_display` = 1 ORDER BY `event_sort`,`event_id` DESC [ RunTime:0.000372s ]
SHOW FULL COLUMNS FROM `event_language` [ RunTime:0.000835s ]
SELECT `language_value`,`language_key` FROM `event_language` WHERE `event_id` = 6 AND `language_id` = 1 [ RunTime:0.000249s ]
SELECT `language_value`,`language_key` FROM `event_language` WHERE `event_id` = 5 AND `language_id` = 1 [ RunTime:0.000208s ]
SHOW FULL COLUMNS FROM `menu` [ RunTime:0.000824s ]
SELECT * FROM `menu` WHERE `parent_id` = 0 AND `menu_display` = 1 ORDER BY `menu_sort` [ RunTime:0.000287s ]
SHOW FULL COLUMNS FROM `menu_language` [ RunTime:0.001150s ]
SELECT `language_value`,`language_key` FROM `menu_language` WHERE `menu_id` = 4 AND `language_id` = 1 [ RunTime:0.000308s ]
SELECT COUNT(*) AS think_count FROM `menu` WHERE `parent_id` = 4 LIMIT 1 [ RunTime:0.000208s ]
SELECT * FROM `menu` WHERE `parent_id` = 4 AND `menu_display` = 1 ORDER BY `menu_sort` [ RunTime:0.000322s ]
SELECT `language_value`,`language_key` FROM `menu_language` WHERE `menu_id` = 8 AND `language_id` = 1 [ RunTime:0.000323s ]
SELECT COUNT(*) AS think_count FROM `menu` WHERE `parent_id` = 8 LIMIT 1 [ RunTime:0.000243s ]
SELECT `language_value`,`language_key` FROM `menu_language` WHERE `menu_id` = 13 AND `language_id` = 1 [ RunTime:0.000298s ]
SELECT COUNT(*) AS think_count FROM `menu` WHERE `parent_id` = 13 LIMIT 1 [ RunTime:0.000248s ]
SELECT `language_value`,`language_key` FROM `menu_language` WHERE `menu_id` = 14 AND `language_id` = 1 [ RunTime:0.000300s ]
SELECT COUNT(*) AS think_count FROM `menu` WHERE `parent_id` = 14 LIMIT 1 [ RunTime:0.000217s ]
SELECT `language_value`,`language_key` FROM `menu_language` WHERE `menu_id` = 9 AND `language_id` = 1 [ RunTime:0.000381s ]
SELECT COUNT(*) AS think_count FROM `menu` WHERE `parent_id` = 9 LIMIT 1 [ RunTime:0.000198s ]
SELECT `language_value`,`language_key` FROM `menu_language` WHERE `menu_id` = 10 AND `language_id` = 1 [ RunTime:0.000318s ]
SELECT COUNT(*) AS think_count FROM `menu` WHERE `parent_id` = 10 LIMIT 1 [ RunTime:0.000234s ]
SELECT `language_value`,`language_key` FROM `menu_language` WHERE `menu_id` = 15 AND `language_id` = 1 [ RunTime:0.000310s ]
SELECT COUNT(*) AS think_count FROM `menu` WHERE `parent_id` = 15 LIMIT 1 [ RunTime:0.000235s ]
SELECT `language_value`,`language_key` FROM `menu_language` WHERE `menu_id` = 24 AND `language_id` = 1 [ RunTime:0.000302s ]
SELECT COUNT(*) AS think_count FROM `menu` WHERE `parent_id` = 24 LIMIT 1 [ RunTime:0.000164s ]
SHOW FULL COLUMNS FROM `template_article` [ RunTime:0.001192s ]
SELECT * FROM `template_article` WHERE `display_header` = 1 ORDER BY `article_sort` [ RunTime:0.000333s ]
SHOW FULL COLUMNS FROM `template_article_category` [ RunTime:0.000946s ]
SELECT * FROM `template_article_category` WHERE `display_footer` = 1 ORDER BY `category_sort` [ RunTime:0.000265s ]
SHOW FULL COLUMNS FROM `template_article_category_language` [ RunTime:0.000775s ]
SELECT `language_value`,`language_key` FROM `template_article_category_language` WHERE `category_id` = 2 AND `language_id` = 1 [ RunTime:0.000317s ]
SELECT * FROM `template_article` WHERE `category_id` = 2 AND `display_footer` = 1 ORDER BY `article_sort` [ RunTime:0.000365s ]
SHOW FULL COLUMNS FROM `template_article_language` [ RunTime:0.000909s ]
SELECT `language_value`,`language_key` FROM `template_article_language` WHERE `article_id` = 1 AND `language_id` = 1 [ RunTime:0.014840s ]
SELECT `language_value`,`language_key` FROM `template_article_language` WHERE `article_id` = 23 AND `language_id` = 1 [ RunTime:0.001970s ]
SELECT `language_value`,`language_key` FROM `template_article_language` WHERE `article_id` = 26 AND `language_id` = 1 [ RunTime:0.001172s ]
SELECT `language_value`,`language_key` FROM `template_article_language` WHERE `article_id` = 3 AND `language_id` = 1 [ RunTime:0.001073s ]
SELECT `language_value`,`language_key` FROM `template_article_language` WHERE `article_id` = 22 AND `language_id` = 1 [ RunTime:0.001305s ]
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.000328s ]
SELECT `language_value`,`language_key` FROM `template_article_language` WHERE `article_id` = 5 AND `language_id` = 1 [ RunTime:0.001258s ]
SELECT `language_value`,`language_key` FROM `template_article_language` WHERE `article_id` = 6 AND `language_id` = 1 [ RunTime:0.001290s ]
SELECT `language_value`,`language_key` FROM `template_article_language` WHERE `article_id` = 8 AND `language_id` = 1 [ RunTime:0.001259s ]
SHOW FULL COLUMNS FROM `user_rank` [ RunTime:0.001530s ]
SELECT * FROM `user_rank` ORDER BY `rank_id` DESC [ RunTime:0.000305s ]
SHOW FULL COLUMNS FROM `user_rank_language` [ RunTime:0.001017s ]
SELECT `language_value`,`language_key` FROM `user_rank_language` WHERE `rank_id` = 3 AND `language_id` = 1 [ RunTime:0.000371s ]
SELECT `language_value`,`language_key` FROM `user_rank_language` WHERE `rank_id` = 2 AND `language_id` = 1 [ RunTime:0.000349s ]
SELECT `language_value`,`language_key` FROM `user_rank_language` WHERE `rank_id` = 1 AND `language_id` = 1 [ RunTime:0.000333s ]
SHOW FULL COLUMNS FROM `user_type` [ RunTime:0.001108s ]
SELECT `type_code`,`type_id` FROM `user_type` [ RunTime:0.000323s ]
SHOW FULL COLUMNS FROM `user` [ RunTime:0.001364s ]
SELECT * FROM `user` WHERE `user_id` IS NULL LIMIT 1 [ RunTime:0.000282s ]
SHOW FULL COLUMNS FROM `cart` [ RunTime:0.000977s ]
SELECT * FROM `cart` WHERE `session_id` IS NULL [ RunTime:0.001678s ]
DELETE FROM `cart` WHERE `session_id` IS NULL [ RunTime:0.002414s ]
SELECT `product_id` FROM `cart` WHERE `session_id` IS NULL [ RunTime:0.000167s ]
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.001899s ]
SHOW FULL COLUMNS FROM `shipping` [ RunTime:0.021647s ]
SELECT * FROM `shipping` WHERE `shipping_id` = 4 LIMIT 1 [ RunTime:0.005507s ]
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.000628s ]
SHOW FULL COLUMNS FROM `vendor_user` [ RunTime:0.000934s ]
SELECT * FROM `vendor_user` WHERE 0 = 1 ORDER BY `vendor_id` [ RunTime:0.000879s ]
SELECT * FROM `shipping` WHERE `shipping_display` = 1 ORDER BY `shipping_sort` [ RunTime:0.000329s ]
SHOW FULL COLUMNS FROM `shipping_language` [ RunTime:0.006956s ]
SELECT `language_value`,`language_key` FROM `shipping_language` WHERE `shipping_id` = 1 AND `language_id` = 1 [ RunTime:0.004428s ]
SELECT `language_value`,`language_key` FROM `shipping_language` WHERE `shipping_id` = 2 AND `language_id` = 1 [ RunTime:0.000322s ]
SELECT `language_value`,`language_key` FROM `shipping_language` WHERE `shipping_id` = 3 AND `language_id` = 1 [ RunTime:0.000311s ]
SELECT `language_value`,`language_key` FROM `shipping_language` WHERE `shipping_id` = 4 AND `language_id` = 1 [ RunTime:0.000320s ]
SELECT * FROM `user_rank` ORDER BY `rank_id` [ RunTime:0.000246s ]
SELECT `language_value`,`language_key` FROM `user_rank_language` WHERE `rank_id` = 1 AND `language_id` = 1 [ RunTime:0.000285s ]
SELECT `language_value`,`language_key` FROM `user_rank_language` WHERE `rank_id` = 2 AND `language_id` = 1 [ RunTime:0.000290s ]
SELECT `language_value`,`language_key` FROM `user_rank_language` WHERE `rank_id` = 3 AND `language_id` = 1 [ RunTime:0.000315s ]
SHOW FULL COLUMNS FROM `product` [ RunTime:0.001880s ]
SELECT * FROM `product` WHERE `product_display` = 1 AND `is_cart` > 0 ORDER BY `is_cart` [ RunTime:0.001581s ]
SHOW FULL COLUMNS FROM `product_language` [ RunTime:0.001038s ]
SELECT `language_value` FROM `product_language` WHERE `product_id` = 2 AND `language_id` = 1 AND `language_key` = 'product_name' LIMIT 1 [ RunTime:0.005966s ]
SELECT `language_value` FROM `product_language` WHERE `product_id` = 46 AND `language_id` = 1 AND `language_key` = 'product_name' LIMIT 1 [ RunTime:0.006266s ]
SELECT `language_value` FROM `product_language` WHERE `product_id` = 54 AND `language_id` = 1 AND `language_key` = 'product_name' LIMIT 1 [ RunTime:0.006120s ]
SELECT `language_value` FROM `product_language` WHERE `product_id` = 47 AND `language_id` = 1 AND `language_key` = 'product_name' LIMIT 1 [ RunTime:0.006173s ]
SELECT `language_value`,`brand_id` FROM `product_brand_language` WHERE `language_id` = 1 AND `language_key` = 'brand_name' [ RunTime:0.000446s ]
SELECT `language_value`,`category_id` FROM `product_category_language` WHERE `language_id` = 1 AND `language_key` = 'category_name' [ RunTime:0.000253s ]
SHOW FULL COLUMNS FROM `free` [ RunTime:0.012017s ]
SELECT * FROM `free` WHERE `strat_datetime` <= '2024-11-21 14:21:24' AND `end_datetime` >= '2024-11-21 14:21:24' AND `free_display` = 1 [ RunTime:0.006811s ]
SHOW FULL COLUMNS FROM `user_free` [ RunTime:0.005099s ]
SELECT `free_id` FROM `user_free` WHERE `user_id` IS NULL [ RunTime:0.001586s ]
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` <= '2024-11-21 14:21:24' AND `f`.`end_datetime` >= '2024-11-21 14:21:24' ORDER BY `uf`.`uf_id` [ RunTime:0.000290s ]
SHOW FULL COLUMNS FROM `coupon` [ RunTime:0.003532s ]
SELECT * FROM `coupon` WHERE `strat_datetime` <= '2024-11-21 14:21:24' AND `end_datetime` >= '2024-11-21 14:21:24' AND `coupon_display` = 1 [ RunTime:0.006331s ]
SHOW FULL COLUMNS FROM `user_coupon` [ RunTime:0.005086s ]
SELECT `coupon_id` FROM `user_coupon` WHERE `user_id` IS NULL [ RunTime:0.000743s ]
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` <= '2024-11-21 14:21:24' AND `c`.`end_datetime` >= '2024-11-21 14:21:24' ORDER BY `uc`.`uc_id` [ RunTime:0.000296s ]
SHOW FULL COLUMNS FROM `order_info` [ RunTime:0.001870s ]
SELECT SUM(`product_total`) AS think_sum FROM `order_info` WHERE `user_id` IS NULL AND `payment_status` = 2 AND `create_time` >= '2023-11-21 14:21:24' LIMIT 1 [ RunTime:0.000405s ]