[ DB ] CONNECT:[ UseTime:0.000903s ] mysql:host=127.0.0.1;port=3306;dbname=xdzb;charset=utf8mb4
[ SQL ] SHOW COLUMNS FROM `ysm_config` [ RunTime:0.001342s ]
[ SQL ] SELECT `key`,`value` FROM `ysm_config` WHERE `domain` = 'www' [ RunTime:0.000628s ]
[ SQL ] SHOW COLUMNS FROM `ysm_type` [ RunTime:0.001183s ]
[ SQL ] SELECT * FROM `ysm_type` WHERE `tid` = 58 AND `domain` = 'www' LIMIT 1 [ RunTime:0.000556s ]
[ SQL ] SELECT `tid`,`t`.*,m.title as model_title FROM `ysm_type` `t` LEFT JOIN `ysm_model` `m` ON `t`.`mid`=`m`.`mid` WHERE `t`.`domain` = 'www' ORDER BY `pid` ASC [ RunTime:0.001808s ]
[ SQL ] SHOW COLUMNS FROM `ysm_article` [ RunTime:0.001190s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `ysm_article` `a` LEFT JOIN `ysm_type` `t` ON `a`.`tid`=`t`.`tid` LEFT JOIN `ysm_article_attr` `aa` ON `a`.`aid`=`aa`.`aid` LEFT JOIN `ysm_article_content` `ac` ON `a`.`aid`=`ac`.`aid` LEFT JOIN `ysm_article_type` `at` ON `a`.`aid`=`at`.`aid` WHERE `a`.`domain` = 'www' AND `a`.`tid` IN (59,60,61,'58') [ RunTime:0.002118s ]
[ SQL ] SELECT `a`.*,`ac`.`content`,`aa`.*,t.title as type_title FROM `ysm_article` `a` LEFT JOIN `ysm_type` `t` ON `a`.`tid`=`t`.`tid` LEFT JOIN `ysm_article_attr` `aa` ON `a`.`aid`=`aa`.`aid` LEFT JOIN `ysm_article_content` `ac` ON `a`.`aid`=`ac`.`aid` LEFT JOIN `ysm_article_type` `at` ON `a`.`aid`=`at`.`aid` WHERE `a`.`domain` = 'www' AND `a`.`tid` IN (59,60,61,'58') ORDER BY `a`.`sort` ASC,`a`.`create_time` DESC LIMIT 0,10 [ RunTime:0.002404s ]
[ SQL ] SHOW COLUMNS FROM `ysm_menu_item` [ RunTime:0.001228s ]
[ SQL ] SELECT * FROM `ysm_menu_item` WHERE `menu_id` = 2 ORDER BY `sort` ASC [ RunTime:0.000559s ]
[ SQL ] SELECT `tid`,`t`.*,m.title as model_title FROM `ysm_type` `t` LEFT JOIN `ysm_model` `m` ON `t`.`mid`=`m`.`mid` WHERE `t`.`domain` = 'www' ORDER BY `pid` ASC [ RunTime:0.000389s ]
[ SQL ] SELECT `a`.*,`ac`.`content`,`aa`.*,t.title as type_title FROM `ysm_article` `a` LEFT JOIN `ysm_type` `t` ON `a`.`tid`=`t`.`tid` LEFT JOIN `ysm_article_attr` `aa` ON `a`.`aid`=`aa`.`aid` LEFT JOIN `ysm_article_content` `ac` ON `a`.`aid`=`ac`.`aid` LEFT JOIN `ysm_article_type` `at` ON `a`.`aid`=`at`.`aid` WHERE `a`.`domain` = 'www' AND `a`.`tid` = 14 ORDER BY `a`.`sort` ASC,`a`.`aid` DESC LIMIT 10 [ RunTime:0.001761s ]
[ SQL ] SELECT * FROM `ysm_type` WHERE `tid` = 5 AND `domain` = 'www' LIMIT 1 [ RunTime:0.000434s ]
[ SQL ] SELECT * FROM `ysm_type` WHERE `domain` = 'www' ORDER BY `pid` ASC,`sort` ASC [ RunTime:0.000536s ]
[ SQL ] SELECT `tid`,`t`.*,m.title as model_title FROM `ysm_type` `t` LEFT JOIN `ysm_model` `m` ON `t`.`mid`=`m`.`mid` WHERE `t`.`domain` = 'www' ORDER BY `pid` ASC [ RunTime:0.000288s ]
[ SQL ] SELECT `a`.*,`ac`.`content`,`aa`.*,t.title as type_title FROM `ysm_article` `a` LEFT JOIN `ysm_type` `t` ON `a`.`tid`=`t`.`tid` LEFT JOIN `ysm_article_attr` `aa` ON `a`.`aid`=`aa`.`aid` LEFT JOIN `ysm_article_content` `ac` ON `a`.`aid`=`ac`.`aid` LEFT JOIN `ysm_article_type` `at` ON `a`.`aid`=`at`.`aid` WHERE `a`.`domain` = 'www' AND `a`.`tid` IN (26,27,9) ORDER BY `a`.`sort` ASC,`a`.`aid` DESC LIMIT 8 [ RunTime:0.038459s ]
[ SQL ] SELECT * FROM `ysm_menu_item` WHERE `menu_id` = 2 ORDER BY `sort` ASC [ RunTime:0.000482s ]
[ SQL ] SELECT * FROM `ysm_type` WHERE `tid` = 5 AND `domain` = 'www' LIMIT 1 [ RunTime:0.000317s ]
[ SQL ] SELECT `a`.*,`aa`.*,`ac`.`content`,`ac`.`mobile_content` FROM `ysm_article` `a` LEFT JOIN `ysm_article_attr` `aa` ON `a`.`aid`=`aa`.`aid` LEFT JOIN `ysm_article_content` `ac` ON `a`.`aid`=`ac`.`aid` WHERE `a`.`aid` = 3 AND `a`.`domain` = 'www' LIMIT 1 [ RunTime:0.000714s ]
[ SQL ] SELECT * FROM `ysm_type` WHERE `tid` = 12 LIMIT 1 [ RunTime:0.000479s ]
[ SQL ] SHOW COLUMNS FROM `ysm_model_attr` [ RunTime:0.001120s ]
[ SQL ] SELECT * FROM `ysm_model_attr` WHERE `mid` = 1 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.000551s ]