[ DB ] CONNECT:[ UseTime:0.013882s ] mysql:host=47.97.231.216;dbname=ahte_dev;charset=utf8mb4
[ SQL ] SHOW COLUMNS FROM `expo` [ RunTime:0.011055s ]
[ SQL ] SELECT * FROM `expo` WHERE `status` = 1 ORDER BY `sort` DESC,`id` DESC [ RunTime:0.009309s ]
[ SQL ] SHOW COLUMNS FROM `product` [ RunTime:0.010776s ]
[ SQL ] SELECT * FROM `product` WHERE `status` = 1 AND `recommend` = 1 ORDER BY `sort` DESC,`id` DESC LIMIT 20 [ RunTime:0.009256s ]
[ SQL ] SHOW COLUMNS FROM `product_category` [ RunTime:0.010634s ]
[ SQL ] SELECT * FROM `product_category` WHERE `pid` = 0 [ RunTime:0.009060s ]
[ SQL ] SELECT * FROM `product` WHERE `recommend` = 1 AND `status` = 1 ORDER BY `sort` DESC,`id` DESC [ RunTime:0.009201s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009069s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009184s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009089s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009038s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009173s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.015607s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009276s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009227s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009140s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009169s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009183s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009161s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009326s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009149s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009295s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009319s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009473s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009284s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009205s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009119s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009125s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009112s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009159s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009231s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009215s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009159s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009289s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009307s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009409s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009389s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009317s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009210s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009016s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009012s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009066s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `product_category` `pc` LEFT JOIN `product` `p` ON `p`.`category_id`=`pc`.`id` LEFT JOIN `exhibitor` `e` ON `e`.`id`=`p`.`exhibitor_id` WHERE `p`.`status` = 1 AND `e`.`status` = 1 AND `p`.`expo_id` = '7' [ RunTime:0.009122s ]
[ SQL ] SELECT `p`.`image`,`p`.`title_cn`,`p`.`title_en`,`e`.`company_cn`,`e`.`company_en`,`e`.`booth_num`,`p`.`id`,`p`.`exhibitor_id` FROM `product_category` `pc` LEFT JOIN `product` `p` ON `p`.`category_id`=`pc`.`id` LEFT JOIN `exhibitor` `e` ON `e`.`id`=`p`.`exhibitor_id` WHERE `p`.`status` = 1 AND `e`.`status` = 1 AND `p`.`expo_id` = '7' ORDER BY `p`.`id` DESC LIMIT 60,30 [ RunTime:0.010817s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009028s ]
[ SQL ] SHOW COLUMNS FROM `exhibitor` [ RunTime:0.010798s ]
[ SQL ] SELECT country_id,count(country_id) as total FROM `exhibitor` WHERE `expo_id` = 7 AND `country_id` > 0 AND `status` = 1 GROUP BY `country_id` ORDER BY `total` DESC [ RunTime:0.009017s ]
[ SQL ] SHOW COLUMNS FROM `country` [ RunTime:0.010177s ]
[ SQL ] SELECT * FROM `country` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.013474s ]