SHOW FULL COLUMNS FROM `tp_system` [ RunTime:0.000956s ]
SELECT * FROM `tp_system` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000404s ]
SHOW FULL COLUMNS FROM `tp_cate` [ RunTime:0.001142s ]
SELECT `id`,`cate_name`,`cate_folder`,`module_id` FROM `tp_cate` ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000276s ]
SHOW FULL COLUMNS FROM `tp_module` [ RunTime:0.000741s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000365s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000531s ]
SELECT * FROM `tp_module` WHERE `id` = 21 LIMIT 1 [ RunTime:0.000318s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000333s ]
SELECT * FROM `tp_system` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000360s ]
SELECT `module_id` FROM `tp_cate` WHERE `id` = 8 LIMIT 1 [ RunTime:0.000255s ]
SELECT `table_name` FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000246s ]
SHOW FULL COLUMNS FROM `tp_field` [ RunTime:0.000793s ]
SELECT * FROM `tp_field` WHERE `module_id` = 22 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000374s ]
SELECT * FROM `tp_cate` WHERE `id` = 8 LIMIT 1 [ RunTime:0.000324s ]
SELECT `id`,`parent_id` FROM `tp_cate` [ RunTime:0.000320s ]
SHOW FULL COLUMNS FROM `tp_product` [ RunTime:0.000857s ]
UPDATE `tp_product` SET `hits` = `hits` + 1 WHERE `id` = 10 [ RunTime:0.004440s ]
SELECT * FROM `tp_module` WHERE `table_name` = 'product' LIMIT 1 [ RunTime:0.000323s ]
SELECT * FROM `tp_product` WHERE `id` = 10 LIMIT 1 [ RunTime:0.000456s ]
SELECT * FROM `tp_module` WHERE `table_name` = 'product' LIMIT 1 [ RunTime:0.000572s ]
SELECT * FROM `tp_field` WHERE `module_id` = 22 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000335s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000308s ]
SELECT * FROM `tp_field` WHERE `module_id` = 20 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000363s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000287s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.001282s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 20 LIMIT 1 [ RunTime:0.000259s ]
SELECT `id`,`cate_name`,`parent_id` FROM `tp_cate` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000256s ]
SELECT `id` FROM `tp_cate` WHERE `module_id` = 22 [ RunTime:0.000255s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000286s ]
SELECT * FROM `tp_field` WHERE `module_id` = 6 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000325s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000731s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000248s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 6 LIMIT 1 [ RunTime:0.000798s ]
SHOW FULL COLUMNS FROM `tp_users_type` [ RunTime:0.000650s ]
SELECT `id`,`name` FROM `tp_users_type` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000245s ]
SHOW FULL COLUMNS FROM `tp_dictionary` [ RunTime:0.001409s ]
SELECT `dict_value`,`dict_label` FROM `tp_dictionary` WHERE `dict_type` = '1' ORDER BY `sort` ASC,`id` DESC [ RunTime:0.001001s ]
SELECT `id`,`cate_folder`,`module_id` FROM `tp_cate` WHERE `id` = 8 LIMIT 1 [ RunTime:0.000233s ]
SELECT `model_name` FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.001182s ]
SELECT * FROM `tp_cate` WHERE `is_menu` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000459s ]
SELECT * FROM `tp_module` WHERE `id` IN (18,19,21) [ RunTime:0.000335s ]
SELECT * FROM `tp_cate` WHERE `parent_id` = 14 ORDER BY `sort` ASC,`id` DESC LIMIT 1 [ RunTime:0.001625s ]
SELECT * FROM `tp_module` WHERE `id` = 18 [ RunTime:0.000364s ]
SELECT * FROM `tp_cate` WHERE `parent_id` = 4 ORDER BY `sort` ASC,`id` DESC LIMIT 1 [ RunTime:0.002225s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000274s ]
SELECT * FROM `tp_cate` WHERE `is_menu` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000317s ]
SELECT * FROM `tp_module` WHERE `id` IN (18,19,21) [ RunTime:0.001143s ]
SELECT * FROM `tp_cate` WHERE `parent_id` = 14 ORDER BY `sort` ASC,`id` DESC LIMIT 1 [ RunTime:0.001317s ]
SELECT * FROM `tp_module` WHERE `id` = 18 [ RunTime:0.001220s ]
SELECT * FROM `tp_cate` WHERE `parent_id` = 4 ORDER BY `sort` ASC,`id` DESC LIMIT 1 [ RunTime:0.000284s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000266s ]
SELECT * FROM `tp_cate` WHERE `id` = 8 LIMIT 1 [ RunTime:0.001387s ]
SELECT * FROM `tp_module` WHERE `id` = 22 [ RunTime:0.002233s ]
SELECT * FROM `tp_cate` WHERE `id` = 8 LIMIT 1 [ RunTime:0.000285s ]
SELECT * FROM `tp_module` WHERE `id` = 22 [ RunTime:0.000335s ]
SELECT * FROM `tp_cate` WHERE `id` = 8 LIMIT 1 [ RunTime:0.000313s ]
SELECT * FROM `tp_module` WHERE `id` = 22 [ RunTime:0.000269s ]
SELECT * FROM `tp_cate` [ RunTime:0.002056s ]
SELECT * FROM `tp_module` WHERE `id` IN (18,19,21,22,24) [ RunTime:0.000381s ]
SELECT * FROM `tp_cate` WHERE `is_menu` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.001510s ]
SELECT * FROM `tp_module` WHERE `id` IN (18,19,21) [ RunTime:0.000285s ]
SELECT * FROM `tp_cate` WHERE `id` = 8 LIMIT 1 [ RunTime:0.000336s ]
SELECT * FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000743s ]
SELECT `id`,`cate_id`,`title` FROM `tp_product` WHERE `cate_id` = 8 AND `id` < 10 AND `status` = 1 ORDER BY `sort` ASC,`id` DESC LIMIT 1 [ RunTime:0.000630s ]
SELECT * FROM `tp_cate` WHERE `id` = 8 LIMIT 1 [ RunTime:0.002046s ]
SELECT * FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000286s ]
SELECT `id`,`cate_id`,`title` FROM `tp_product` WHERE `cate_id` = 8 AND `id` > 10 AND `status` = 1 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000574s ]
SELECT * FROM `tp_cate` WHERE `id` = 8 LIMIT 1 [ RunTime:0.000271s ]
SELECT * FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000249s ]
SELECT * FROM `tp_cate` WHERE `id` = 4 LIMIT 1 [ RunTime:0.000263s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000268s ]
SELECT `id`,`parent_id` FROM `tp_cate` [ RunTime:0.000259s ]
SHOW FULL COLUMNS FROM `tp_article` [ RunTime:0.002587s ]
SELECT * FROM `tp_article` WHERE ( image <> '' AND status = 1 ) AND `cate_id` IN (4,5,6) ORDER BY `id` DESC LIMIT 5 [ RunTime:0.000404s ]
SELECT * FROM `tp_cate` WHERE `id` = 5 [ RunTime:0.000333s ]
SELECT * FROM `tp_cate` WHERE `id` = 5 [ RunTime:0.000262s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000263s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.001972s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000339s ]
SHOW FULL COLUMNS FROM `tp_dictionary_type` [ RunTime:0.001321s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000293s ]
SELECT `dict_value`,`dict_label` FROM `tp_dictionary` WHERE `dict_type` = '1' ORDER BY `sort` ASC,`id` DESC [ RunTime:0.001632s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000324s ]
SELECT * FROM `tp_field` WHERE `module_id` = 20 AND `field` = 'sort' LIMIT 1 [ RunTime:0.001083s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000301s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000241s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 20 LIMIT 1 [ RunTime:0.000281s ]
SELECT `id`,`cate_name`,`parent_id` FROM `tp_cate` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.001731s ]
SELECT `id` FROM `tp_cate` WHERE `module_id` = 19 [ RunTime:0.000245s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000309s ]
SELECT * FROM `tp_field` WHERE `module_id` = 6 AND `field` = 'sort' LIMIT 1 [ RunTime:0.001522s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.001421s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000250s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 6 LIMIT 1 [ RunTime:0.000272s ]
SELECT `id`,`name` FROM `tp_users_type` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000245s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.000353s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.001135s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.001269s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.002477s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.001372s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000337s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.000494s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000410s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000341s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.001734s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000395s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000328s ]
SELECT * FROM `tp_cate` WHERE `id` = 8 LIMIT 1 [ RunTime:0.000427s ]
SELECT * FROM `tp_module` WHERE `id` = 22 [ RunTime:0.000326s ]
SELECT `id`,`parent_id` FROM `tp_cate` [ RunTime:0.000220s ]
SELECT * FROM `tp_product` WHERE ( status = 1 ) AND `cate_id` = 8 ORDER BY `hits` DESC LIMIT 3 [ RunTime:0.000549s ]
SELECT * FROM `tp_cate` WHERE `id` = 8 [ RunTime:0.000350s ]
SELECT * FROM `tp_cate` WHERE `id` = 8 [ RunTime:0.000356s ]
SELECT * FROM `tp_module` WHERE `id` = 22 [ RunTime:0.000325s ]
SELECT * FROM `tp_field` WHERE `module_id` = 22 [ RunTime:0.000387s ]
SELECT * FROM `tp_module` WHERE `id` = 22 [ RunTime:0.000292s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000268s ]
SELECT `dict_value`,`dict_label` FROM `tp_dictionary` WHERE `dict_type` = '1' ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000368s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000310s ]
SELECT * FROM `tp_field` WHERE `module_id` = 20 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000330s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000278s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000346s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 20 LIMIT 1 [ RunTime:0.000249s ]
SELECT `id`,`cate_name`,`parent_id` FROM `tp_cate` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000233s ]
SELECT `id` FROM `tp_cate` WHERE `module_id` = 22 [ RunTime:0.000329s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000459s ]
SELECT * FROM `tp_field` WHERE `module_id` = 6 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000382s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000326s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000269s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 6 LIMIT 1 [ RunTime:0.000291s ]
SELECT `id`,`name` FROM `tp_users_type` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000240s ]
SELECT * FROM `tp_field` WHERE `module_id` = 22 [ RunTime:0.000334s ]
SELECT * FROM `tp_module` WHERE `id` = 22 [ RunTime:0.000328s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000271s ]
SELECT * FROM `tp_field` WHERE `module_id` = 22 [ RunTime:0.000451s ]
SELECT * FROM `tp_module` WHERE `id` = 22 [ RunTime:0.000437s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000317s ]
SELECT * FROM `tp_field` WHERE `module_id` = 22 [ RunTime:0.000525s ]
SELECT * FROM `tp_module` WHERE `id` = 22 [ RunTime:0.000396s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000354s ]