SHOW FULL COLUMNS FROM `tp_system` [ RunTime:0.000758s ]
SELECT * FROM `tp_system` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000375s ]
SHOW FULL COLUMNS FROM `tp_cate` [ RunTime:0.000680s ]
SELECT `id`,`cate_name`,`cate_folder`,`module_id` FROM `tp_cate` ORDER BY `sort` DESC,`id` DESC [ RunTime:0.000274s ]
SHOW FULL COLUMNS FROM `tp_module` [ RunTime:0.000603s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000309s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000282s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000244s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000240s ]
SELECT * FROM `tp_module` WHERE `id` = 25 LIMIT 1 [ RunTime:0.000223s ]
SELECT * FROM `tp_module` WHERE `id` = 24 LIMIT 1 [ RunTime:0.000268s ]
SELECT * FROM `tp_module` WHERE `id` = 23 LIMIT 1 [ RunTime:0.000320s ]
SELECT * FROM `tp_module` WHERE `id` = 21 LIMIT 1 [ RunTime:0.000321s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000284s ]
SELECT * FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000237s ]
SELECT * FROM `tp_system` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000368s ]
SELECT `module_id` FROM `tp_cate` WHERE `id` = 9 LIMIT 1 [ RunTime:0.000225s ]
SELECT `table_name` FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000199s ]
SHOW FULL COLUMNS FROM `tp_field` [ RunTime:0.000606s ]
SELECT * FROM `tp_field` WHERE `module_id` = 22 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000487s ]
SELECT * FROM `tp_cate` WHERE `id` = 9 LIMIT 1 [ RunTime:0.000318s ]
SELECT `id`,`parent_id` FROM `tp_cate` [ RunTime:0.000231s ]
SHOW FULL COLUMNS FROM `tp_product` [ RunTime:0.000544s ]
UPDATE `tp_product` SET `hits` = `hits` + 1 WHERE `id` = 344 [ RunTime:0.002981s ]
SELECT * FROM `tp_module` WHERE `table_name` = 'product' LIMIT 1 [ RunTime:0.000378s ]
SELECT * FROM `tp_product` WHERE `id` = 344 LIMIT 1 [ RunTime:0.000358s ]
SELECT * FROM `tp_module` WHERE `table_name` = 'product' LIMIT 1 [ RunTime:0.000465s ]
SELECT * FROM `tp_field` WHERE `module_id` = 22 ORDER BY `sort` DESC,`id` DESC [ RunTime:0.000502s ]
SHOW FULL COLUMNS FROM `tp_dictionary` [ RunTime:0.000541s ]
SELECT `dict_value`,`dict_label` FROM `tp_dictionary` WHERE `dict_type` = '1' ORDER BY `sort` DESC,`id` DESC [ RunTime:0.000249s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000645s ]
SELECT * FROM `tp_field` WHERE `module_id` = 6 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000357s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000318s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000218s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 6 LIMIT 1 [ RunTime:0.000430s ]
SHOW FULL COLUMNS FROM `tp_users_type` [ RunTime:0.000482s ]
SELECT `id`,`name` FROM `tp_users_type` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000215s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000285s ]
SELECT * FROM `tp_field` WHERE `module_id` = 20 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000535s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000279s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000217s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 20 LIMIT 1 [ RunTime:0.000280s ]
SELECT `id`,`cate_name`,`parent_id` FROM `tp_cate` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000238s ]
SELECT `id` FROM `tp_cate` WHERE `module_id` = 22 [ RunTime:0.000215s ]
SELECT `id`,`cate_folder`,`module_id` FROM `tp_cate` WHERE `id` = 9 LIMIT 1 [ RunTime:0.000214s ]
SELECT `model_name` FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000241s ]
SELECT * FROM `tp_cate` WHERE `is_menu` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000610s ]
SELECT * FROM `tp_module` WHERE `id` IN (22,19,21,23,18) [ RunTime:0.000320s ]
SELECT * FROM `tp_cate` WHERE `is_menu` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000349s ]
SELECT * FROM `tp_module` WHERE `id` IN (22,19,21,23,18) [ RunTime:0.000369s ]
SELECT * FROM `tp_cate` WHERE `id` = 8 LIMIT 1 [ RunTime:0.000301s ]
SELECT * FROM `tp_module` WHERE `id` = 22 [ RunTime:0.000246s ]
SELECT * FROM `tp_cate` WHERE `id` = 8 LIMIT 1 [ RunTime:0.000321s ]
SELECT * FROM `tp_module` WHERE `id` = 22 [ RunTime:0.000275s ]
SELECT * FROM `tp_cate` WHERE `id` = 10 LIMIT 1 [ RunTime:0.000273s ]
SELECT * FROM `tp_module` WHERE `id` = 22 [ RunTime:0.000240s ]
SELECT * FROM `tp_cate` [ RunTime:0.000285s ]
SELECT * FROM `tp_module` WHERE `id` IN (18,19,21,22,23,24,25) [ RunTime:0.000315s ]
SELECT * FROM `tp_cate` WHERE `is_menu` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000339s ]
SELECT * FROM `tp_module` WHERE `id` IN (22,19,21,23,18) [ RunTime:0.000301s ]
SELECT * FROM `tp_cate` WHERE `id` = 9 LIMIT 1 [ RunTime:0.000284s ]
SELECT * FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000259s ]
SELECT `id`,`cate_id`,`title` FROM `tp_product` WHERE `cate_id` = '9' AND `id` < 344 AND `status` = 1 ORDER BY `sort` ASC,`id` DESC LIMIT 1 [ RunTime:0.000656s ]
SELECT * FROM `tp_cate` WHERE `id` = 9 LIMIT 1 [ RunTime:0.000259s ]
SELECT * FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000234s ]
SELECT * FROM `tp_cate` WHERE `id` = 9 LIMIT 1 [ RunTime:0.000249s ]
SELECT * FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000237s ]
SELECT `id`,`cate_id`,`title` FROM `tp_product` WHERE `cate_id` = '9' AND `id` > 344 AND `status` = 1 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000360s ]
SELECT * FROM `tp_cate` WHERE `id` = 9 LIMIT 1 [ RunTime:0.000299s ]
SELECT * FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000251s ]
SELECT * FROM `tp_cate` WHERE `id` = 4 LIMIT 1 [ RunTime:0.000316s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000234s ]
SELECT `id`,`parent_id` FROM `tp_cate` [ RunTime:0.000225s ]
SHOW FULL COLUMNS FROM `tp_article` [ RunTime:0.000613s ]
SELECT * FROM `tp_article` WHERE ( image <> '' AND status = 1 ) AND `cate_id` IN (4,5,6) ORDER BY `id` DESC LIMIT 5 [ RunTime:0.000377s ]
SELECT * FROM `tp_cate` WHERE `id` IN (5,6) [ RunTime:0.000284s ]
SELECT * FROM `tp_cate` WHERE `id` IN (5,6) [ RunTime:0.000274s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000226s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.000672s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000242s ]
SHOW FULL COLUMNS FROM `tp_dictionary_type` [ RunTime:0.000532s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000257s ]
SELECT `dict_value`,`dict_label` FROM `tp_dictionary` WHERE `dict_type` = '1' ORDER BY `sort` DESC,`id` DESC [ RunTime:0.000356s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000377s ]
SELECT * FROM `tp_field` WHERE `module_id` = 20 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000688s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000314s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000232s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 20 LIMIT 1 [ RunTime:0.000337s ]
SELECT `id`,`cate_name`,`parent_id` FROM `tp_cate` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000262s ]
SELECT `id` FROM `tp_cate` WHERE `module_id` = 19 [ RunTime:0.000205s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000241s ]
SELECT * FROM `tp_field` WHERE `module_id` = 6 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000324s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000273s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000219s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 6 LIMIT 1 [ RunTime:0.000318s ]
SELECT `id`,`name` FROM `tp_users_type` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000197s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.000770s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000283s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000257s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.000741s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000254s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000248s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.000725s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000347s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000295s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.000720s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000265s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000255s ]
SELECT * FROM `tp_cate` WHERE `id` = 8 LIMIT 1 [ RunTime:0.000282s ]
SELECT * FROM `tp_module` WHERE `id` = 22 [ RunTime:0.000234s ]
SELECT `id`,`parent_id` FROM `tp_cate` [ RunTime:0.000205s ]
SELECT * FROM `tp_product` WHERE ( status = 1 ) AND `cate_id` IN ('8','9','10') ORDER BY `hits` DESC LIMIT 3 [ RunTime:0.004961s ]
SELECT * FROM `tp_cate` WHERE `id` IN (10,9) [ RunTime:0.000365s ]
SELECT * FROM `tp_cate` WHERE `id` IN (10,9) [ RunTime:0.000274s ]
SELECT * FROM `tp_module` WHERE `id` = 22 [ RunTime:0.000248s ]
SELECT * FROM `tp_field` WHERE `module_id` = 22 [ RunTime:0.000684s ]
SELECT * FROM `tp_module` WHERE `id` = 22 [ RunTime:0.000246s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000241s ]
SELECT `dict_value`,`dict_label` FROM `tp_dictionary` WHERE `dict_type` = '1' ORDER BY `sort` DESC,`id` DESC [ RunTime:0.000523s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000342s ]
SELECT * FROM `tp_field` WHERE `module_id` = 20 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000550s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000261s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000219s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 20 LIMIT 1 [ RunTime:0.000291s ]
SELECT `id`,`cate_name`,`parent_id` FROM `tp_cate` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000227s ]
SELECT `id` FROM `tp_cate` WHERE `module_id` = 22 [ RunTime:0.000207s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000243s ]
SELECT * FROM `tp_field` WHERE `module_id` = 6 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000315s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000249s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000192s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 6 LIMIT 1 [ RunTime:0.000356s ]
SELECT `id`,`name` FROM `tp_users_type` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000218s ]
SELECT * FROM `tp_field` WHERE `module_id` = 22 [ RunTime:0.000670s ]
SELECT * FROM `tp_module` WHERE `id` = 22 [ RunTime:0.000249s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000251s ]
SELECT * FROM `tp_field` WHERE `module_id` = 22 [ RunTime:0.000773s ]
SELECT * FROM `tp_module` WHERE `id` = 22 [ RunTime:0.000309s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000289s ]
SELECT * FROM `tp_field` WHERE `module_id` = 22 [ RunTime:0.000740s ]
SELECT * FROM `tp_module` WHERE `id` = 22 [ RunTime:0.000264s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000251s ]
SHOW FULL COLUMNS FROM `tp_link` [ RunTime:0.000542s ]
SELECT * FROM `tp_link` WHERE `status` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000298s ]