[ DB ] CONNECT:[ UseTime:0.012195s ] mysql:host=47.97.231.216;dbname=ahte_dev;charset=utf8mb4
[ SQL ] SHOW COLUMNS FROM `expo` [ RunTime:0.010051s ]
[ SQL ] SELECT * FROM `expo` WHERE `status` = 1 ORDER BY `sort` DESC,`id` DESC [ RunTime:0.008137s ]
[ SQL ] SHOW COLUMNS FROM `product` [ RunTime:0.009824s ]
[ SQL ] SELECT * FROM `product` WHERE `status` = 1 AND `recommend` = 1 ORDER BY `sort` DESC,`id` DESC LIMIT 20 [ RunTime:0.008218s ]
[ SQL ] SHOW COLUMNS FROM `product_category` [ RunTime:0.009893s ]
[ SQL ] SELECT * FROM `product_category` WHERE `pid` = 0 [ RunTime:0.008124s ]
[ SQL ] SELECT * FROM `product` WHERE `recommend` = 1 AND `status` = 1 ORDER BY `sort` DESC,`id` DESC [ RunTime:0.008225s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.008057s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.008321s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.008119s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.007949s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.007958s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.008050s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.007986s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.007904s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.007856s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.007823s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.007865s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.007899s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.007943s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.007894s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.007866s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.007922s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.007944s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.008010s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.007987s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.007994s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.008153s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.008035s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.008062s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.007942s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.007954s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.007923s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.007840s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.008139s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.008061s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.008100s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.008077s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.007976s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.007975s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.008015s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.008083s ]
[ 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.007993s ]
[ 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 30,30 [ RunTime:0.008715s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.007929s ]
[ SQL ] SHOW COLUMNS FROM `exhibitor` [ RunTime:0.009657s ]
[ 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.007967s ]
[ SQL ] SHOW COLUMNS FROM `country` [ RunTime:0.009760s ]
[ SQL ] SELECT * FROM `country` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.011860s ]