SHOW FULL COLUMNS FROM `tp_system` [ RunTime:0.001190s ]
SELECT * FROM `tp_system` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000501s ]
SHOW FULL COLUMNS FROM `tp_cate` [ RunTime:0.001489s ]
SELECT `id`,`cate_name`,`cate_folder`,`module_id` FROM `tp_cate` ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000324s ]
SHOW FULL COLUMNS FROM `tp_module` [ RunTime:0.001847s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000403s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000457s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000367s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000362s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000326s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000349s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000319s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000289s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000320s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000283s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000366s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000328s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000274s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000325s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000269s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000461s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000305s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000287s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000252s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000277s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000249s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000285s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000251s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000287s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000254s ]
SELECT * FROM `tp_system` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000474s ]
SELECT `module_id` FROM `tp_cate` WHERE `cate_folder` = 'food' LIMIT 1 [ RunTime:0.000370s ]
SELECT `table_name` FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000261s ]
SHOW FULL COLUMNS FROM `tp_field` [ RunTime:0.001800s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000372s ]
SELECT `id` FROM `tp_cate` WHERE `cate_folder` = 'food' LIMIT 1 [ RunTime:0.000266s ]
SELECT * FROM `tp_cate` WHERE `id` = 23 LIMIT 1 [ RunTime:0.000361s ]
SELECT `id`,`parent_id` FROM `tp_cate` [ RunTime:0.000281s ]
SHOW FULL COLUMNS FROM `tp_article` [ RunTime:0.001846s ]
UPDATE `tp_article` SET `hits` = `hits` + 1 WHERE `id` = 87 [ RunTime:0.006223s ]
SELECT * FROM `tp_module` WHERE `table_name` = 'article' LIMIT 1 [ RunTime:0.000582s ]
SELECT * FROM `tp_article` WHERE `id` = 87 LIMIT 1 [ RunTime:0.000814s ]
SELECT * FROM `tp_module` WHERE `table_name` = 'article' LIMIT 1 [ RunTime:0.000736s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.001864s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.001573s ]
SELECT * FROM `tp_field` WHERE `module_id` = 20 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000660s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000499s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000442s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 20 LIMIT 1 [ RunTime:0.000430s ]
SELECT `id`,`cate_name`,`parent_id` FROM `tp_cate` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000387s ]
SELECT `id` FROM `tp_cate` WHERE `module_id` = 19 [ RunTime:0.000371s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000367s ]
SELECT * FROM `tp_field` WHERE `module_id` = 6 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000566s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000441s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000585s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 6 LIMIT 1 [ RunTime:0.000470s ]
SHOW FULL COLUMNS FROM `tp_users_type` [ RunTime:0.002060s ]
SELECT `id`,`name` FROM `tp_users_type` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000469s ]
SHOW FULL COLUMNS FROM `tp_dictionary` [ RunTime:0.001853s ]
SELECT `dict_value`,`dict_label` FROM `tp_dictionary` WHERE `dict_type` = '1' ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000377s ]
SELECT `id`,`cate_folder`,`module_id` FROM `tp_cate` WHERE `id` = 23 LIMIT 1 [ RunTime:0.000332s ]
SELECT * FROM `tp_cate` WHERE `is_menu` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000566s ]
SELECT * FROM `tp_module` WHERE `id` IN (18,19) [ RunTime:0.000421s ]
SELECT * FROM `tp_cate` WHERE `parent_id` = 1 ORDER BY `sort` ASC,`id` DESC LIMIT 1 [ RunTime:0.000487s ]
SELECT * FROM `tp_module` WHERE `id` = 18 [ RunTime:0.000341s ]
SELECT * FROM `tp_cate` WHERE `id` = 23 LIMIT 1 [ RunTime:0.000363s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000376s ]
SELECT * FROM `tp_cate` WHERE `is_menu` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000370s ]
SELECT * FROM `tp_module` WHERE `id` IN (18,19) [ RunTime:0.000251s ]
SELECT * FROM `tp_cate` WHERE `id` = 23 LIMIT 1 [ RunTime:0.000251s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000443s ]
SELECT * FROM `tp_cate` [ RunTime:0.000720s ]
SELECT * FROM `tp_module` WHERE `id` IN (18,19) [ RunTime:0.000356s ]
SELECT `id` FROM `tp_cate` WHERE `cate_folder` = 'food' LIMIT 1 [ RunTime:0.000318s ]
SELECT `id` FROM `tp_cate` WHERE `cate_folder` = 'food' LIMIT 1 [ RunTime:0.000257s ]
SELECT * FROM `tp_cate` WHERE `id` = 23 LIMIT 1 [ RunTime:0.000493s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000319s ]
SELECT `id`,`cate_id`,`title` FROM `tp_article` WHERE `cate_id` = 23 AND `id` < 87 AND `status` = 1 ORDER BY `sort` ASC,`id` DESC LIMIT 1 [ RunTime:0.000938s ]
SELECT * FROM `tp_cate` WHERE `id` = 23 LIMIT 1 [ RunTime:0.000360s ]
SELECT `id` FROM `tp_cate` WHERE `cate_folder` = 'food' LIMIT 1 [ RunTime:0.000233s ]
SELECT * FROM `tp_cate` WHERE `id` = 23 LIMIT 1 [ RunTime:0.000309s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000283s ]
SELECT `id`,`cate_id`,`title` FROM `tp_article` WHERE `cate_id` = 23 AND `id` > 87 AND `status` = 1 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000493s ]
SELECT * FROM `tp_cate` WHERE `is_menu` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000347s ]
SELECT * FROM `tp_module` WHERE `id` IN (18,19) [ RunTime:0.000306s ]