[ DB ] CONNECT:[ UseTime:0.013944s ] mysql:host=47.97.231.216;dbname=ahte_dev;charset=utf8mb4
[ SQL ] SHOW COLUMNS FROM `expo` [ RunTime:0.010807s ]
[ SQL ] SELECT * FROM `expo` WHERE `status` = 1 ORDER BY `sort` DESC,`id` DESC [ RunTime:0.009211s ]
[ SQL ] SHOW COLUMNS FROM `product` [ RunTime:0.011269s ]
[ SQL ] SELECT * FROM `product` WHERE `status` = 1 AND `recommend` = 1 ORDER BY `sort` DESC,`id` DESC LIMIT 20 [ RunTime:0.009379s ]
[ SQL ] SHOW COLUMNS FROM `product_category` [ RunTime:0.010992s ]
[ SQL ] SELECT * FROM `product_category` WHERE `pid` = 0 [ RunTime:0.009339s ]
[ SQL ] SELECT * FROM `product` WHERE `recommend` = 1 AND `status` = 1 ORDER BY `sort` DESC,`id` DESC [ RunTime:0.009479s ]
[ 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.027739s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009556s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009450s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009308s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009311s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009350s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009277s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009312s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.027873s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009401s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009351s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009311s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009297s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009347s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009300s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.027837s ]
[ 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.009323s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.032440s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.013841s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009428s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009507s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009323s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.029573s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.013833s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.013642s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.013669s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009225s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009268s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009130s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.236792s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.013867s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.013906s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.013838s ]
[ 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.009404s ]
[ 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 0,30 [ RunTime:0.013992s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.009360s ]
[ SQL ] SHOW COLUMNS FROM `exhibitor` [ RunTime:0.011401s ]
[ 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.009285s ]
[ SQL ] SHOW COLUMNS FROM `country` [ RunTime:0.010857s ]
[ SQL ] SELECT * FROM `country` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.018489s ]