SHOW FULL COLUMNS FROM `web_system_lang` [ RunTime:0.001026s ]
SELECT * FROM `web_system_lang` WHERE `prefix` = 'kn' LIMIT 1 [ RunTime:0.000413s ]
SHOW FULL COLUMNS FROM `web_system_customer` [ RunTime:0.001004s ]
SELECT * FROM `web_system_customer` WHERE `username` = 'wendy' AND `is_online` = 1 LIMIT 1 [ RunTime:0.000582s ]
SHOW FULL COLUMNS FROM `web_customer_website_setting` [ RunTime:0.001120s ]
SELECT * FROM `web_customer_website_setting` WHERE `lang_id` = 76 AND `customer_id` = 6 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.021062s ]
SHOW FULL COLUMNS FROM `web_customer_column` [ RunTime:0.001023s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 0 AND `lang_id` = 76 AND `customer_id` = 6 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.024273s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 176 AND `lang_id` = 76 AND `customer_id` = 6 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.024088s ]
SHOW FULL COLUMNS FROM `web_customer_products_category` [ RunTime:0.000824s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 6 AND `lang_id` = 76 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000646s ]
SHOW FULL COLUMNS FROM `web_customer_news_category` [ RunTime:0.000764s ]
SELECT * FROM `web_customer_news_category` WHERE `status` = 1 AND `customer_id` = 6 AND `lang_id` = 76 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000502s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 0 AND `lang_id` = 76 AND `customer_id` = 6 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000263s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 176 AND `lang_id` = 76 AND `customer_id` = 6 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000228s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 6 AND `lang_id` = 76 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000220s ]
SELECT * FROM `web_customer_news_category` WHERE `status` = 1 AND `customer_id` = 6 AND `lang_id` = 76 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000213s ]
SHOW FULL COLUMNS FROM `web_customer_lang` [ RunTime:0.000807s ]
SELECT `b`.*,`c`.`is_online` FROM `web_customer_lang` `a` LEFT JOIN `web_system_lang` `b` ON `a`.`lang_id`=`b`.`id` LEFT JOIN `web_system_customer` `c` ON `a`.`customer_id`=`c`.`id` WHERE `a`.`customer_id` = '6' AND `a`.`status` = '1' ORDER BY `a`.`sortid` ASC [ RunTime:0.000672s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 6 AND `lang_id` = 76 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000234s ]
SHOW FULL COLUMNS FROM `web_customer_products_lang_76` [ RunTime:0.000827s ]
SELECT `a`.*,b.title cat_name,b.link_url cat_link FROM `web_customer_products_lang_76` `a` LEFT JOIN `web_customer_products_category` `b` ON `a`.`cat_id`=`b`.`id` WHERE `a`.`customer_id` = '6' AND `a`.`status` = '1' AND `a`.`on_b2b` = '1' AND ( a.is_new=1 ) ORDER BY `a`.`sortid` ASC,`a`.`id` DESC LIMIT 8 [ RunTime:0.001558s ]
SELECT * FROM `web_customer_column` WHERE `lang_id` = 76 AND `customer_id` = 6 AND `parentid` = 0 AND `type` = 2 LIMIT 1 [ RunTime:0.000636s ]
SELECT * FROM `web_customer_website_setting` WHERE `lang_id` = 76 AND `customer_id` = 6 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000313s ]
SELECT COUNT(*) AS think_count FROM `web_customer_products_lang_76` `a` LEFT JOIN `web_customer_products_category` `b` ON `a`.`cat_id`=`b`.`id` WHERE `a`.`status` = '1' AND `a`.`on_b2b` = '1' AND `a`.`customer_id` = '6' ORDER BY `a`.`sortid`,`a`.`id` DESC LIMIT 1 [ RunTime:0.000468s ]
SELECT COUNT(*) AS think_count FROM `web_customer_products_lang_76` `a` LEFT JOIN `web_customer_products_category` `b` ON `a`.`cat_id`=`b`.`id` WHERE `a`.`status` = '1' AND `a`.`on_b2b` = '1' AND `a`.`customer_id` = '6' LIMIT 1 [ RunTime:0.000403s ]
SELECT `a`.*,b.title cat_name,b.link_url cat_link FROM `web_customer_products_lang_76` `a` LEFT JOIN `web_customer_products_category` `b` ON `a`.`cat_id`=`b`.`id` WHERE `a`.`status` = '1' AND `a`.`on_b2b` = '1' AND `a`.`customer_id` = '6' ORDER BY `a`.`sortid`,`a`.`id` DESC LIMIT 0,20 [ RunTime:0.003425s ]