SHOW FULL COLUMNS FROM `web_system_lang` [ RunTime:0.000528s ]
SELECT * FROM `web_system_lang` WHERE `prefix` = 'en' LIMIT 1 [ RunTime:0.000153s ]
SHOW FULL COLUMNS FROM `web_system_customer` [ RunTime:0.000611s ]
SELECT * FROM `web_system_customer` WHERE `username` = 'liyang' AND `is_online` = 1 LIMIT 1 [ RunTime:0.000531s ]
SHOW FULL COLUMNS FROM `web_customer_website_setting` [ RunTime:0.000580s ]
SELECT * FROM `web_customer_website_setting` WHERE `lang_id` = 1 AND `customer_id` = 100 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.002993s ]
SHOW FULL COLUMNS FROM `web_customer_column` [ RunTime:0.000498s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 0 AND `lang_id` = 1 AND `customer_id` = 100 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.021533s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 30779 AND `lang_id` = 1 AND `customer_id` = 100 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.021163s ]
SHOW FULL COLUMNS FROM `web_customer_products_category` [ RunTime:0.000516s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 100 AND `lang_id` = 1 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000541s ]
SHOW FULL COLUMNS FROM `web_customer_news_category` [ RunTime:0.000458s ]
SELECT * FROM `web_customer_news_category` WHERE `status` = 1 AND `customer_id` = 100 AND `lang_id` = 1 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000367s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 0 AND `lang_id` = 1 AND `customer_id` = 100 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000179s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 30779 AND `lang_id` = 1 AND `customer_id` = 100 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000141s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 100 AND `lang_id` = 1 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000139s ]
SELECT * FROM `web_customer_news_category` WHERE `status` = 1 AND `customer_id` = 100 AND `lang_id` = 1 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000147s ]
SHOW FULL COLUMNS FROM `web_customer_lang` [ RunTime:0.000404s ]
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` = '100' AND `a`.`status` = '1' ORDER BY `a`.`sortid` ASC [ RunTime:0.000612s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 100 AND `lang_id` = 1 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000158s ]
SHOW FULL COLUMNS FROM `web_customer_products` [ RunTime:0.000487s ]
SELECT `a`.*,b.title cat_name,b.link_url cat_link FROM `web_customer_products` `a` LEFT JOIN `web_customer_products_category` `b` ON `a`.`cat_id`=`b`.`id` WHERE `a`.`customer_id` = '100' 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.006754s ]
SELECT * FROM `web_customer_column` WHERE `lang_id` = 1 AND `customer_id` = 100 AND `parentid` = 0 AND `type` = 2 LIMIT 1 [ RunTime:0.045906s ]
SELECT * FROM `web_customer_website_setting` WHERE `lang_id` = 1 AND `customer_id` = 100 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000301s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `link_url` = 'liner' AND `customer_id` = 100 AND `lang_id` = 1 LIMIT 1 [ RunTime:0.000476s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 100 AND `lang_id` = 1 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000203s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 100 AND `lang_id` = 1 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000207s ]
SELECT COUNT(*) AS think_count FROM `web_customer_products` `a` LEFT JOIN `web_customer_products_category` `b` ON `a`.`cat_id`=`b`.`id` WHERE `a`.`cat_id` = '45846' AND `a`.`status` = '1' AND `a`.`on_b2b` = '1' AND `a`.`customer_id` = '100' ORDER BY `a`.`sortid`,`a`.`id` DESC LIMIT 1 [ RunTime:0.006215s ]
SELECT COUNT(*) AS think_count FROM `web_customer_products` `a` LEFT JOIN `web_customer_products_category` `b` ON `a`.`cat_id`=`b`.`id` WHERE `a`.`cat_id` = '45846' AND `a`.`status` = '1' AND `a`.`on_b2b` = '1' AND `a`.`customer_id` = '100' LIMIT 1 [ RunTime:0.005556s ]