SHOW FULL COLUMNS FROM `tp_system` [ RunTime:0.001435s ]
SELECT * FROM `tp_system` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000499s ]
SHOW FULL COLUMNS FROM `tp_cate` [ RunTime:0.001043s ]
SELECT `id`,`cate_name`,`cate_folder`,`module_id` FROM `tp_cate` ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000318s ]
SHOW FULL COLUMNS FROM `tp_module` [ RunTime:0.000970s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000228s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000244s ]
SELECT * FROM `tp_module` WHERE `id` = 21 LIMIT 1 [ RunTime:0.000238s ]
SELECT * FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000198s ]
SELECT * FROM `tp_module` WHERE `id` = 23 LIMIT 1 [ RunTime:0.000219s ]
SELECT * FROM `tp_module` WHERE `id` = 24 LIMIT 1 [ RunTime:0.000293s ]
SELECT * FROM `tp_module` WHERE `id` = 25 LIMIT 1 [ RunTime:0.000228s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000270s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000181s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000187s ]
SELECT * FROM `tp_system` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000355s ]
SELECT `module_id` FROM `tp_cate` WHERE `id` = 9 LIMIT 1 [ RunTime:0.000269s ]
SELECT `table_name` FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000204s ]
SHOW FULL COLUMNS FROM `tp_field` [ RunTime:0.000978s ]
SELECT * FROM `tp_field` WHERE `module_id` = 22 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000490s ]
SELECT * FROM `tp_cate` WHERE `id` = 9 LIMIT 1 [ RunTime:0.000339s ]
SELECT `id`,`parent_id` FROM `tp_cate` [ RunTime:0.000172s ]
SHOW FULL COLUMNS FROM `tp_product` [ RunTime:0.000842s ]
UPDATE `tp_product` SET `hits` = `hits` + 1 WHERE `id` = 16 [ RunTime:1.400477s ]
SELECT * FROM `tp_module` WHERE `table_name` = 'product' LIMIT 1 [ RunTime:0.001251s ]
SELECT * FROM `tp_product` WHERE `id` = 16 LIMIT 1 [ RunTime:0.000339s ]
SELECT * FROM `tp_module` WHERE `table_name` = 'product' LIMIT 1 [ RunTime:0.000272s ]
SELECT * FROM `tp_field` WHERE `module_id` = 22 ORDER BY `sort`,`id` DESC [ RunTime:0.000528s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000241s ]
SELECT * FROM `tp_field` WHERE `module_id` = 20 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000776s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000292s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000172s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 20 LIMIT 1 [ RunTime:0.000289s ]
SELECT `id`,`cate_name`,`parent_id` FROM `tp_cate` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000213s ]
SHOW FULL COLUMNS FROM `tp_dictionary` [ RunTime:0.004079s ]
SELECT `dict_value`,`dict_label` FROM `tp_dictionary` WHERE `dict_type` = '1' ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000254s ]
SELECT `id`,`cate_folder`,`module_id` FROM `tp_cate` WHERE `id` = 9 LIMIT 1 [ RunTime:0.000177s ]
SELECT `model_name` FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000160s ]
SELECT * FROM `tp_cate` WHERE `is_menu` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000387s ]
SELECT `model_name` FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000209s ]
SELECT `model_name` FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000262s ]
SELECT `model_name` FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000220s ]
SELECT * FROM `tp_cate` WHERE `is_menu` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.003915s ]
SELECT `model_name` FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000230s ]
SELECT `model_name` FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000210s ]
SELECT `model_name` FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000177s ]
SELECT * FROM `tp_cate` WHERE `id` = 8 LIMIT 1 [ RunTime:0.000255s ]
SELECT * FROM `tp_cate` WHERE `id` = 8 LIMIT 1 [ RunTime:0.000234s ]
SELECT * FROM `tp_cate` WHERE `id` = 9 LIMIT 1 [ RunTime:0.000220s ]
SELECT `model_name` FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000186s ]
SELECT * FROM `tp_cate` [ RunTime:0.000241s ]
SELECT `model_name` FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000165s ]
SELECT * FROM `tp_cate` WHERE `is_menu` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000277s ]
SELECT `model_name` FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000184s ]
SELECT `model_name` FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000204s ]
SELECT * FROM `tp_cate` WHERE `id` = 9 LIMIT 1 [ RunTime:0.000253s ]
SELECT * FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000217s ]
SELECT `id`,`cate_id`,`title` FROM `tp_product` WHERE `cate_id` = 9 AND `id` < 16 AND `status` = 1 ORDER BY `sort` ASC,`id` DESC LIMIT 1 [ RunTime:0.000283s ]
SELECT `id`,`cate_folder`,`module_id` FROM `tp_cate` WHERE `id` = 9 LIMIT 1 [ RunTime:0.000189s ]
SELECT `model_name` FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000180s ]
SELECT * FROM `tp_cate` WHERE `id` = 9 LIMIT 1 [ RunTime:0.000204s ]
SELECT * FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000198s ]
SELECT `id`,`cate_id`,`title` FROM `tp_product` WHERE `cate_id` = 9 AND `id` > 16 AND `status` = 1 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000228s ]
SELECT * FROM `tp_cate` WHERE `id` = 4 LIMIT 1 [ RunTime:0.000220s ]
SELECT `id`,`parent_id` FROM `tp_cate` [ RunTime:0.000156s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000224s ]
SHOW FULL COLUMNS FROM `tp_article` [ RunTime:0.001301s ]
SELECT * FROM `tp_article` WHERE ( image <> '' AND status = 1 ) AND `cate_id` IN (4,5,6) ORDER BY `id` DESC LIMIT 5 [ RunTime:0.000511s ]
SELECT `id`,`cate_folder`,`module_id` FROM `tp_cate` WHERE `id` = 5 LIMIT 1 [ RunTime:0.000248s ]
SELECT `model_name` FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000257s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.000569s ]
SELECT `id`,`cate_folder`,`module_id` FROM `tp_cate` WHERE `id` = 5 LIMIT 1 [ RunTime:0.001533s ]
SELECT `model_name` FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000184s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.000389s ]
SELECT `id`,`cate_folder`,`module_id` FROM `tp_cate` WHERE `id` = 5 LIMIT 1 [ RunTime:0.000186s ]
SELECT `model_name` FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000167s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.000471s ]
SELECT `id`,`cate_folder`,`module_id` FROM `tp_cate` WHERE `id` = 5 LIMIT 1 [ RunTime:0.000179s ]
SELECT `model_name` FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000155s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.001141s ]
SELECT `id`,`cate_folder`,`module_id` FROM `tp_cate` WHERE `id` = 5 LIMIT 1 [ RunTime:0.000194s ]
SELECT `model_name` FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000166s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.000371s ]
SELECT * FROM `tp_cate` WHERE `id` = 8 LIMIT 1 [ RunTime:0.000257s ]
SELECT `id`,`parent_id` FROM `tp_cate` [ RunTime:0.000176s ]
SELECT * FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000227s ]
SELECT * FROM `tp_product` WHERE ( status = 1 ) AND `cate_id` IN (8,9,10) ORDER BY `hits` DESC LIMIT 3 [ RunTime:0.000326s ]
SELECT `id`,`cate_folder`,`module_id` FROM `tp_cate` WHERE `id` = 9 LIMIT 1 [ RunTime:0.000300s ]
SELECT `model_name` FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000153s ]
SELECT * FROM `tp_field` WHERE `module_id` = 22 [ RunTime:0.000368s ]
SELECT `id`,`cate_folder`,`module_id` FROM `tp_cate` WHERE `id` = 9 LIMIT 1 [ RunTime:0.000182s ]
SELECT `model_name` FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000166s ]
SELECT * FROM `tp_field` WHERE `module_id` = 22 [ RunTime:0.000436s ]
SELECT `id`,`cate_folder`,`module_id` FROM `tp_cate` WHERE `id` = 9 LIMIT 1 [ RunTime:0.000191s ]
SELECT `model_name` FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.005238s ]
SELECT * FROM `tp_field` WHERE `module_id` = 22 [ RunTime:0.000685s ]
SHOW FULL COLUMNS FROM `tp_link` [ RunTime:0.001003s ]
SELECT * FROM `tp_link` WHERE `status` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000291s ]