[ DB ] CONNECT:[ UseTime:0.011666s ] mysql:host=47.97.231.216;dbname=ahte_dev;charset=utf8mb4
[ SQL ] SHOW COLUMNS FROM `expo` [ RunTime:0.009405s ]
[ SQL ] SELECT * FROM `expo` WHERE `status` = 1 ORDER BY `sort` DESC,`id` DESC [ RunTime:0.007771s ]
[ SQL ] SHOW COLUMNS FROM `product` [ RunTime:0.009545s ]
[ SQL ] SELECT * FROM `product` WHERE `status` = 1 AND `recommend` = 1 ORDER BY `sort` DESC,`id` DESC LIMIT 20 [ RunTime:0.025004s ]
[ SQL ] SHOW COLUMNS FROM `product_category` [ RunTime:0.009445s ]
[ SQL ] SELECT * FROM `product_category` WHERE `pid` = 0 [ RunTime:0.007822s ]
[ SQL ] SELECT * FROM `product` WHERE `recommend` = 1 AND `status` = 1 ORDER BY `sort` DESC,`id` DESC [ RunTime:0.261754s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.007953s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.007830s ]
[ 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.007829s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.007853s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.007928s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.007746s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.007570s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.007590s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.007614s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.007511s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.007512s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.028085s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.011543s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.007787s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.007776s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.007728s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.007826s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.008016s ]
[ 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.007878s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.007851s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.007828s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.007739s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.007858s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.007789s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.007695s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.007719s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.007682s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.007710s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.007576s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.007717s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.007732s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.231639s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.011743s ]
[ 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.007948s ]
[ 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.011665s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.011508s ]
[ SQL ] SHOW COLUMNS FROM `exhibitor` [ RunTime:0.009910s ]
[ 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.007800s ]
[ SQL ] SHOW COLUMNS FROM `country` [ RunTime:0.009340s ]
[ SQL ] SELECT * FROM `country` WHERE `status` = 1 ORDER BY `sort` DESC,`id` [ RunTime:0.027028s ]