[ DB ] CONNECT:[ UseTime:0.012862s ] mysql:host=47.97.231.216;dbname=maoxian;charset=utf8mb4
[ SQL ] SHOW COLUMNS FROM `menu` [ RunTime:0.010501s ]
[ SQL ] SELECT `m`.*,`i`.`name`,`i`.`outlink`,`i`.`target` FROM `menu` `m` LEFT JOIN `menu_info` `i` ON `m`.`id`=`i`.`menu_id` WHERE `m`.`status` = 1 AND `i`.`lang` = 'cn' ORDER BY `m`.`pid`,`m`.`sort` DESC,`m`.`id` [ RunTime:0.008591s ]
[ SQL ] SHOW COLUMNS FROM `siteinfo` [ RunTime:0.010146s ]
[ SQL ] SELECT `config_name`,`config_value` FROM `siteinfo` WHERE `status` = 1 [ RunTime:0.008534s ]
[ SQL ] SHOW COLUMNS FROM `banner` [ RunTime:0.009746s ]
[ SQL ] SELECT `m`.* FROM `banner` `m` INNER JOIN `banner_position` `p` ON `p`.`id`=m.position_id AND p.position_code = 'index_banner_cn' WHERE `m`.`status` = 1 ORDER BY `m`.`sort` DESC,`m`.`id` [ RunTime:0.008324s ]
[ SQL ] SHOW COLUMNS FROM `news` [ RunTime:0.009538s ]
[ SQL ] SHOW COLUMNS FROM `news_info` [ RunTime:0.009281s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `news` `news` INNER JOIN `news_info` `info` ON `news`.`id`=`info`.`news_id` WHERE `info`.`lang` = 'cn' AND `info`.`title` <> '' AND `news`.`status` = 1 [ RunTime:0.008273s ]
[ SQL ] SELECT `news`.`id`,`news`.`keywords`,`news`.`category_id`,`news`.`type_id`,`news`.`title_data`,`news`.`image`,`news`.`source_url`,`news`.`publish_date`,`news`.`create_uid`,`news`.`create_uname`,`news`.`clicks`,`news`.`is_top`,`news`.`is_hot`,`news`.`is_home`,`news`.`sort`,`news`.`status`,`news`.`publish_time`,`news`.`create_time`,`news`.`update_time`,`info`.`id` AS `info__id`,`info`.`news_id` AS `info__news_id`,`info`.`lang` AS `info__lang`,`info`.`title` AS `info__title`,`info`.`sub_title` AS `info__sub_title`,`info`.`image` AS `info__image`,`info`.`brief` AS `info__brief`,`info`.`content` AS `info__content`,`info`.`author` AS `info__author`,`info`.`source` AS `info__source`,`info`.`outlink` AS `info__outlink`,`info`.`clicks` AS `info__clicks`,`info`.`meta_title` AS `info__meta_title`,`info`.`meta_desc` AS `info__meta_desc`,`info`.`meta_kws` AS `info__meta_kws`,`info`.`info_status` AS `info__info_status`,`create_time` FROM `news` `news` INNER JOIN `news_info` `info` ON `news`.`id`=`info`.`news_id` WHERE `info`.`lang` = 'cn' AND `info`.`title` <> '' AND `news`.`status` = 1 ORDER BY `news`.`id` DESC LIMIT 0,3 [ RunTime:0.008470s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `news` `news` INNER JOIN `news_info` `info` ON `news`.`id`=`info`.`news_id` WHERE `info`.`lang` = 'cn' AND `info`.`title` <> '' AND `category_id` = 1 AND `news`.`status` = 1 [ RunTime:0.008258s ]
[ SQL ] SELECT `news`.`id`,`news`.`keywords`,`news`.`category_id`,`news`.`type_id`,`news`.`title_data`,`news`.`image`,`news`.`source_url`,`news`.`publish_date`,`news`.`create_uid`,`news`.`create_uname`,`news`.`clicks`,`news`.`is_top`,`news`.`is_hot`,`news`.`is_home`,`news`.`sort`,`news`.`status`,`news`.`publish_time`,`news`.`create_time`,`news`.`update_time`,`info`.`id` AS `info__id`,`info`.`news_id` AS `info__news_id`,`info`.`lang` AS `info__lang`,`info`.`title` AS `info__title`,`info`.`sub_title` AS `info__sub_title`,`info`.`image` AS `info__image`,`info`.`brief` AS `info__brief`,`info`.`content` AS `info__content`,`info`.`author` AS `info__author`,`info`.`source` AS `info__source`,`info`.`outlink` AS `info__outlink`,`info`.`clicks` AS `info__clicks`,`info`.`meta_title` AS `info__meta_title`,`info`.`meta_desc` AS `info__meta_desc`,`info`.`meta_kws` AS `info__meta_kws`,`info`.`info_status` AS `info__info_status`,`create_time` FROM `news` `news` INNER JOIN `news_info` `info` ON `news`.`id`=`info`.`news_id` WHERE `info`.`lang` = 'cn' AND `info`.`title` <> '' AND `category_id` = 1 AND `news`.`status` = 1 ORDER BY `is_top` DESC,`sort` DESC,`news`.`id` DESC LIMIT 0,4 [ RunTime:0.008390s ]
[ SQL ] SHOW COLUMNS FROM `product_category` [ RunTime:0.009915s ]
[ SQL ] SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` DESC,`id` DESC [ RunTime:0.008487s ]
[ SQL ] SHOW COLUMNS FROM `product` [ RunTime:0.009755s ]
[ SQL ] SELECT * FROM `product` WHERE `category_id` IN (4,47,43,27,10,9) AND `status` = 1 ORDER BY `sort` DESC,`id` DESC LIMIT 6 [ RunTime:0.008649s ]
[ SQL ] SELECT * FROM `product` WHERE `category_id` IN (5,46,44,38,12,11) AND `status` = 1 ORDER BY `sort` DESC,`id` DESC LIMIT 6 [ RunTime:0.008666s ]
[ SQL ] SELECT * FROM `product` WHERE `category_id` IN (41,8,35,30,29,13,6,39,36,32) AND `status` = 1 ORDER BY `sort` DESC,`id` DESC LIMIT 6 [ RunTime:0.008644s ]
[ SQL ] SELECT * FROM `product` WHERE `category_id` = 45 AND `status` = 1 ORDER BY `sort` DESC,`id` DESC LIMIT 6 [ RunTime:0.008508s ]
通过手工艺即使是个人也可以向社会提供和贡献喜悦