SHOW FULL COLUMNS FROM `tp_system` [ RunTime:0.001300s ]
SELECT * FROM `tp_system` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000899s ]
SELECT * FROM `tp_system` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000814s ]
SHOW FULL COLUMNS FROM `tp_cate` [ RunTime:0.001054s ]
SELECT `module_id` FROM `tp_cate` WHERE `cate_folder` = 'News' LIMIT 1 [ RunTime:0.000801s ]
SHOW FULL COLUMNS FROM `tp_module` [ RunTime:0.001034s ]
SELECT `table_name` FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000601s ]
SHOW FULL COLUMNS FROM `tp_field` [ RunTime:0.001121s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.001730s ]
SELECT `id` FROM `tp_cate` WHERE `cate_folder` = 'News' LIMIT 1 [ RunTime:0.000894s ]
SELECT * FROM `tp_cate` WHERE `id` = 4 LIMIT 1 [ RunTime:0.000773s ]
SELECT `id`,`parent_id` FROM `tp_cate` [ RunTime:0.000732s ]
SHOW FULL COLUMNS FROM `tp_article` [ RunTime:0.001192s ]
UPDATE `tp_article` SET `hits` = `hits` + 1 WHERE `id` = 146 [ RunTime:0.005961s ]
SELECT * FROM `tp_module` WHERE `table_name` = 'article' LIMIT 1 [ RunTime:0.000540s ]
SELECT * FROM `tp_article` WHERE `id` = 146 LIMIT 1 [ RunTime:0.001909s ]
SELECT * FROM `tp_module` WHERE `table_name` = 'article' LIMIT 1 [ RunTime:0.000781s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 ORDER BY `sort`,`id` DESC [ RunTime:0.002209s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.001959s ]
SELECT * FROM `tp_field` WHERE `module_id` = 20 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000639s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.001496s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.001929s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 20 LIMIT 1 [ RunTime:0.001767s ]
SELECT `id`,`cate_name`,`parent_id` FROM `tp_cate` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000553s ]
SHOW FULL COLUMNS FROM `tp_dictionary` [ RunTime:0.000847s ]
SELECT `dict_value`,`dict_label` FROM `tp_dictionary` WHERE `dict_type` = '1' ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000782s ]
SELECT `dict_value`,`dict_label` FROM `tp_dictionary` WHERE `dict_type` = '2' ORDER BY `sort` ASC,`id` DESC [ RunTime:0.001788s ]
SELECT `dict_value`,`dict_label` FROM `tp_dictionary` WHERE `dict_type` = '2' ORDER BY `sort` ASC,`id` DESC [ RunTime:0.003068s ]
SELECT `id`,`cate_folder`,`module_id` FROM `tp_cate` WHERE `id` = 4 LIMIT 1 [ RunTime:0.002282s ]
SELECT * FROM `tp_cate` WHERE `is_menu` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.002865s ]
SELECT * FROM `tp_cate` WHERE `is_menu` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.002832s ]
SHOW FULL COLUMNS FROM `tp_page` [ RunTime:0.001338s ]
SELECT * FROM `tp_page` WHERE `cate_id` = 18 AND `status` = 1 LIMIT 1 [ RunTime:0.001282s ]
SELECT * FROM `tp_cate` WHERE `is_menu` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.001545s ]
SELECT * FROM `tp_cate` WHERE `is_menu` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.002764s ]
SELECT `id`,`cate_id`,`title` FROM `tp_article` WHERE `cate_id` = 4 AND `id` < 146 AND `status` = 1 ORDER BY `sort` ASC,`id` DESC LIMIT 1 [ RunTime:0.001303s ]
SELECT `id`,`cate_id`,`title` FROM `tp_article` WHERE `cate_id` = 4 AND `id` > 146 AND `status` = 1 ORDER BY `sort` ASC,`id` DESC LIMIT 1 [ RunTime:0.000568s ]
SELECT * FROM `tp_cate` WHERE `id` = 4 LIMIT 1 [ RunTime:0.001264s ]
SELECT `id`,`parent_id` FROM `tp_cate` [ RunTime:0.001688s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000472s ]
SELECT * FROM `tp_article` WHERE ( status = 1 ) AND `cate_id` = 4 ORDER BY `sort` ASC,`id` DESC LIMIT 3 [ RunTime:0.000707s ]
SELECT `id`,`cate_folder`,`module_id` FROM `tp_cate` WHERE `id` = 4 LIMIT 1 [ RunTime:0.000272s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.000708s ]
SELECT `id`,`cate_folder`,`module_id` FROM `tp_cate` WHERE `id` = 4 LIMIT 1 [ RunTime:0.000305s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.000702s ]
SELECT `id`,`cate_folder`,`module_id` FROM `tp_cate` WHERE `id` = 4 LIMIT 1 [ RunTime:0.000459s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.001688s ]
SELECT * FROM `tp_cate` WHERE `is_menu` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.003000s ]