SHOW FULL COLUMNS FROM `tp_system` [ RunTime:0.000934s ]
SELECT * FROM `tp_system` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000402s ]
SHOW FULL COLUMNS FROM `tp_cate` [ RunTime:0.000640s ]
SELECT `id`,`cate_name`,`cate_folder`,`module_id` FROM `tp_cate` ORDER BY `sort` DESC,`id` DESC [ RunTime:0.000284s ]
SHOW FULL COLUMNS FROM `tp_module` [ RunTime:0.000526s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000297s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000276s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000247s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000237s ]
SELECT * FROM `tp_module` WHERE `id` = 25 LIMIT 1 [ RunTime:0.000221s ]
SELECT * FROM `tp_module` WHERE `id` = 24 LIMIT 1 [ RunTime:0.000230s ]
SELECT * FROM `tp_module` WHERE `id` = 23 LIMIT 1 [ RunTime:0.000227s ]
SELECT * FROM `tp_module` WHERE `id` = 21 LIMIT 1 [ RunTime:0.000239s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000240s ]
SELECT * FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000218s ]
SELECT * FROM `tp_system` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000551s ]
SELECT `module_id` FROM `tp_cate` WHERE `id` = 10 LIMIT 1 [ RunTime:0.000243s ]
SELECT `table_name` FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000178s ]
SHOW FULL COLUMNS FROM `tp_field` [ RunTime:0.000583s ]
SELECT * FROM `tp_field` WHERE `module_id` = 22 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000531s ]
SELECT * FROM `tp_cate` WHERE `id` = 10 LIMIT 1 [ RunTime:0.000306s ]
SELECT `id`,`parent_id` FROM `tp_cate` [ RunTime:0.000199s ]
SHOW FULL COLUMNS FROM `tp_product` [ RunTime:0.000511s ]
UPDATE `tp_product` SET `hits` = `hits` + 1 WHERE `id` = 246 [ RunTime:0.012847s ]
SELECT * FROM `tp_module` WHERE `table_name` = 'product' LIMIT 1 [ RunTime:0.000419s ]
SELECT * FROM `tp_product` WHERE `id` = 246 LIMIT 1 [ RunTime:0.000314s ]
SELECT * FROM `tp_module` WHERE `table_name` = 'product' LIMIT 1 [ RunTime:0.000370s ]
SELECT * FROM `tp_field` WHERE `module_id` = 22 ORDER BY `sort` DESC,`id` DESC [ RunTime:0.000503s ]
SHOW FULL COLUMNS FROM `tp_dictionary` [ RunTime:0.000564s ]
SELECT `dict_value`,`dict_label` FROM `tp_dictionary` WHERE `dict_type` = '1' ORDER BY `sort` DESC,`id` DESC [ RunTime:0.000254s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000258s ]
SELECT * FROM `tp_field` WHERE `module_id` = 6 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000317s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000314s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000221s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 6 LIMIT 1 [ RunTime:0.000454s ]
SHOW FULL COLUMNS FROM `tp_users_type` [ RunTime:0.000459s ]
SELECT `id`,`name` FROM `tp_users_type` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000188s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000320s ]
SELECT * FROM `tp_field` WHERE `module_id` = 20 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000518s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000266s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000194s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 20 LIMIT 1 [ RunTime:0.000287s ]
SELECT `id`,`cate_name`,`parent_id` FROM `tp_cate` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000234s ]
SELECT `id` FROM `tp_cate` WHERE `module_id` = 22 [ RunTime:0.000217s ]
SELECT `id`,`cate_folder`,`module_id` FROM `tp_cate` WHERE `id` = 10 LIMIT 1 [ RunTime:0.000212s ]
SELECT `model_name` FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000189s ]
SELECT * FROM `tp_cate` WHERE `is_menu` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000372s ]
SELECT * FROM `tp_module` WHERE `id` IN (22,19,21,23,18) [ RunTime:0.000298s ]
SELECT * FROM `tp_cate` WHERE `is_menu` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000335s ]
SELECT * FROM `tp_module` WHERE `id` IN (22,19,21,23,18) [ RunTime:0.000398s ]
SELECT * FROM `tp_cate` WHERE `id` = 8 LIMIT 1 [ RunTime:0.000314s ]
SELECT * FROM `tp_module` WHERE `id` = 22 [ RunTime:0.000278s ]
SELECT * FROM `tp_cate` WHERE `id` = 8 LIMIT 1 [ RunTime:0.000307s ]
SELECT * FROM `tp_module` WHERE `id` = 22 [ RunTime:0.000278s ]
SELECT * FROM `tp_cate` WHERE `id` = 10 LIMIT 1 [ RunTime:0.000265s ]
SELECT * FROM `tp_module` WHERE `id` = 22 [ RunTime:0.000271s ]
SELECT * FROM `tp_cate` [ RunTime:0.000255s ]
SELECT * FROM `tp_module` WHERE `id` IN (18,19,21,22,23,24,25) [ RunTime:0.000293s ]
SELECT * FROM `tp_cate` WHERE `is_menu` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000326s ]
SELECT * FROM `tp_module` WHERE `id` IN (22,19,21,23,18) [ RunTime:0.000324s ]
SELECT * FROM `tp_cate` WHERE `id` = 10 LIMIT 1 [ RunTime:0.000290s ]
SELECT * FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000251s ]
SELECT `id`,`cate_id`,`title` FROM `tp_product` WHERE `cate_id` = '10' AND `id` < 246 AND `status` = 1 ORDER BY `sort` ASC,`id` DESC LIMIT 1 [ RunTime:0.000498s ]
SELECT * FROM `tp_cate` WHERE `id` = 10 LIMIT 1 [ RunTime:0.000255s ]
SELECT * FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000248s ]
SELECT * FROM `tp_cate` WHERE `id` = 10 LIMIT 1 [ RunTime:0.000257s ]
SELECT * FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000245s ]
SELECT `id`,`cate_id`,`title` FROM `tp_product` WHERE `cate_id` = '10' AND `id` > 246 AND `status` = 1 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000342s ]
SELECT * FROM `tp_cate` WHERE `id` = 10 LIMIT 1 [ RunTime:0.000250s ]
SELECT * FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000233s ]
SELECT * FROM `tp_cate` WHERE `id` = 4 LIMIT 1 [ RunTime:0.000244s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000270s ]
SELECT `id`,`parent_id` FROM `tp_cate` [ RunTime:0.000197s ]
SHOW FULL COLUMNS FROM `tp_article` [ RunTime:0.000632s ]
SELECT * FROM `tp_article` WHERE ( image <> '' AND status = 1 ) AND `cate_id` IN (4,5,6) ORDER BY `id` DESC LIMIT 5 [ RunTime:0.000346s ]
SELECT * FROM `tp_cate` WHERE `id` IN (5,6) [ RunTime:0.000281s ]
SELECT * FROM `tp_cate` WHERE `id` IN (5,6) [ RunTime:0.000254s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000230s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.000684s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000282s ]
SHOW FULL COLUMNS FROM `tp_dictionary_type` [ RunTime:0.000460s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000225s ]
SELECT `dict_value`,`dict_label` FROM `tp_dictionary` WHERE `dict_type` = '1' ORDER BY `sort` DESC,`id` DESC [ RunTime:0.000287s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000274s ]
SELECT * FROM `tp_field` WHERE `module_id` = 20 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000496s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000252s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000239s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 20 LIMIT 1 [ RunTime:0.000288s ]
SELECT `id`,`cate_name`,`parent_id` FROM `tp_cate` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000229s ]
SELECT `id` FROM `tp_cate` WHERE `module_id` = 19 [ RunTime:0.000196s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000234s ]
SELECT * FROM `tp_field` WHERE `module_id` = 6 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000296s ]
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.000208s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 6 LIMIT 1 [ RunTime:0.000339s ]
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.000661s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000242s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000254s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.000673s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000241s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000234s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.001099s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000257s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000232s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.000680s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000234s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000241s ]
SELECT * FROM `tp_cate` WHERE `id` = 8 LIMIT 1 [ RunTime:0.000287s ]
SELECT * FROM `tp_module` WHERE `id` = 22 [ RunTime:0.000233s ]
SELECT `id`,`parent_id` FROM `tp_cate` [ RunTime:0.000190s ]
SELECT * FROM `tp_product` WHERE ( status = 1 ) AND `cate_id` IN ('8','9','10') ORDER BY `hits` DESC LIMIT 3 [ RunTime:0.005119s ]
SELECT * FROM `tp_cate` WHERE `id` IN (10,9) [ RunTime:0.000331s ]
SELECT * FROM `tp_cate` WHERE `id` IN (10,9) [ RunTime:0.000321s ]
SELECT * FROM `tp_module` WHERE `id` = 22 [ RunTime:0.000258s ]
SELECT * FROM `tp_field` WHERE `module_id` = 22 [ RunTime:0.000696s ]
SELECT * FROM `tp_module` WHERE `id` = 22 [ RunTime:0.000326s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000237s ]
SELECT `dict_value`,`dict_label` FROM `tp_dictionary` WHERE `dict_type` = '1' ORDER BY `sort` DESC,`id` DESC [ RunTime:0.000281s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000255s ]
SELECT * FROM `tp_field` WHERE `module_id` = 20 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000512s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000250s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000199s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 20 LIMIT 1 [ RunTime:0.000277s ]
SELECT `id`,`cate_name`,`parent_id` FROM `tp_cate` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000226s ]
SELECT `id` FROM `tp_cate` WHERE `module_id` = 22 [ RunTime:0.000213s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000229s ]
SELECT * FROM `tp_field` WHERE `module_id` = 6 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000387s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000242s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000211s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 6 LIMIT 1 [ RunTime:0.000328s ]
SELECT `id`,`name` FROM `tp_users_type` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000187s ]
SELECT * FROM `tp_field` WHERE `module_id` = 22 [ RunTime:0.000702s ]
SELECT * FROM `tp_module` WHERE `id` = 22 [ RunTime:0.000242s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000238s ]
SELECT * FROM `tp_field` WHERE `module_id` = 22 [ RunTime:0.000684s ]
SELECT * FROM `tp_module` WHERE `id` = 22 [ RunTime:0.000236s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000253s ]
SELECT * FROM `tp_field` WHERE `module_id` = 22 [ RunTime:0.000694s ]
SELECT * FROM `tp_module` WHERE `id` = 22 [ RunTime:0.000253s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000241s ]
SHOW FULL COLUMNS FROM `tp_link` [ RunTime:0.000570s ]
SELECT * FROM `tp_link` WHERE `status` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000263s ]