SHOW FULL COLUMNS FROM `tp_system` [ RunTime:0.000774s ]
SELECT * FROM `tp_system` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000237s ]
SHOW FULL COLUMNS FROM `tp_cate` [ RunTime:0.000595s ]
SELECT `id`,`cate_name`,`cate_folder`,`module_id` FROM `tp_cate` ORDER BY `sort` DESC,`id` DESC [ RunTime:0.000165s ]
SHOW FULL COLUMNS FROM `tp_module` [ RunTime:0.000552s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000192s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000170s ]
SELECT * FROM `tp_module` WHERE `id` = 25 LIMIT 1 [ RunTime:0.000162s ]
SELECT * FROM `tp_module` WHERE `id` = 24 LIMIT 1 [ RunTime:0.000141s ]
SELECT * FROM `tp_module` WHERE `id` = 23 LIMIT 1 [ RunTime:0.000136s ]
SELECT * FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000167s ]
SELECT * FROM `tp_module` WHERE `id` = 21 LIMIT 1 [ RunTime:0.000143s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000134s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000144s ]
SELECT * FROM `tp_system` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000189s ]
SELECT `module_id` FROM `tp_cate` WHERE `cate_folder` = 'News' LIMIT 1 [ RunTime:0.000180s ]
SELECT `table_name` FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000119s ]
SHOW FULL COLUMNS FROM `tp_field` [ RunTime:0.000644s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000186s ]
SELECT `id` FROM `tp_cate` WHERE `cate_folder` = 'News' LIMIT 1 [ RunTime:0.000179s ]
SELECT * FROM `tp_cate` WHERE `id` = 4 LIMIT 1 [ RunTime:0.000159s ]
SELECT `id`,`parent_id` FROM `tp_cate` [ RunTime:0.000139s ]
SHOW FULL COLUMNS FROM `tp_article` [ RunTime:0.000570s ]
UPDATE `tp_article` SET `hits` = `hits` + 1 WHERE `id` = 38 [ RunTime:0.005081s ]
SELECT * FROM `tp_module` WHERE `table_name` = 'article' LIMIT 1 [ RunTime:0.000186s ]
SELECT * FROM `tp_article` WHERE `id` = 38 LIMIT 1 [ RunTime:0.000243s ]
SELECT * FROM `tp_module` WHERE `table_name` = 'article' LIMIT 1 [ RunTime:0.000287s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 ORDER BY `sort`,`id` DESC [ RunTime:0.000228s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000244s ]
SELECT * FROM `tp_field` WHERE `module_id` = 20 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000204s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000216s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000140s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 20 LIMIT 1 [ RunTime:0.000248s ]
SELECT `id`,`cate_name`,`parent_id` FROM `tp_cate` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000228s ]
SHOW FULL COLUMNS FROM `tp_dictionary` [ RunTime:0.000791s ]
SELECT `dict_value`,`dict_label` FROM `tp_dictionary` WHERE `dict_type` = '1' ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000200s ]
SELECT `id`,`cate_folder`,`module_id` FROM `tp_cate` WHERE `id` = 4 LIMIT 1 [ RunTime:0.000174s ]
SELECT * FROM `tp_cate` WHERE `id` = 4 LIMIT 1 [ RunTime:0.000235s ]
SELECT * FROM `tp_cate` WHERE `id` = 4 LIMIT 1 [ RunTime:0.000172s ]
SELECT * FROM `tp_cate` WHERE `id` = 4 LIMIT 1 [ RunTime:0.000177s ]
SELECT * FROM `tp_cate` [ RunTime:0.000223s ]
SELECT `id` FROM `tp_cate` WHERE `cate_folder` = 'News' LIMIT 1 [ RunTime:0.000208s ]
SELECT * FROM `tp_cate` WHERE `is_menu` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000206s ]
SELECT `id` FROM `tp_cate` WHERE `cate_folder` = 'News' LIMIT 1 [ RunTime:0.000209s ]
SELECT * FROM `tp_cate` WHERE `id` = 4 LIMIT 1 [ RunTime:0.000231s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000213s ]
SELECT `id`,`cate_id`,`title` FROM `tp_article` WHERE `cate_id` = 4 AND `id` < 38 AND `status` = 1 ORDER BY `sort` ASC,`id` DESC LIMIT 1 [ RunTime:0.000566s ]
SELECT `id`,`cate_folder`,`module_id` FROM `tp_cate` WHERE `id` = 4 LIMIT 1 [ RunTime:0.000200s ]
SELECT `id` FROM `tp_cate` WHERE `cate_folder` = 'News' LIMIT 1 [ RunTime:0.000181s ]
SELECT * FROM `tp_cate` WHERE `id` = 4 LIMIT 1 [ RunTime:0.000193s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000216s ]
SELECT `id`,`cate_id`,`title` FROM `tp_article` WHERE `cate_id` = 4 AND `id` > 38 AND `status` = 1 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000324s ]
SELECT `id`,`cate_folder`,`module_id` FROM `tp_cate` WHERE `id` = 4 LIMIT 1 [ RunTime:0.000171s ]
SELECT * FROM `tp_cate` WHERE `id` = 4 LIMIT 1 [ RunTime:0.000169s ]
SELECT `id`,`parent_id` FROM `tp_cate` [ RunTime:0.000135s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000209s ]
SELECT * FROM `tp_article` WHERE ( image <> '' AND status = 1 ) AND `cate_id` = 4 ORDER BY `id` DESC LIMIT 5 [ RunTime:0.000555s ]
SELECT `id`,`cate_folder`,`module_id` FROM `tp_cate` WHERE `id` = 4 LIMIT 1 [ RunTime:0.000255s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.000236s ]
SELECT `dict_value`,`dict_label` FROM `tp_dictionary` WHERE `dict_type` = '1' ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000196s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000179s ]
SELECT * FROM `tp_field` WHERE `module_id` = 20 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000222s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000186s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000149s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 20 LIMIT 1 [ RunTime:0.000152s ]
SELECT `id`,`cate_name`,`parent_id` FROM `tp_cate` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000169s ]
SELECT `id`,`cate_folder`,`module_id` FROM `tp_cate` WHERE `id` = 4 LIMIT 1 [ RunTime:0.000176s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.000179s ]
SELECT `dict_value`,`dict_label` FROM `tp_dictionary` WHERE `dict_type` = '1' ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000169s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000173s ]
SELECT * FROM `tp_field` WHERE `module_id` = 20 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000159s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000143s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000155s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 20 LIMIT 1 [ RunTime:0.000134s ]
SELECT `id`,`cate_name`,`parent_id` FROM `tp_cate` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000127s ]
SELECT `id`,`cate_folder`,`module_id` FROM `tp_cate` WHERE `id` = 4 LIMIT 1 [ RunTime:0.000237s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.000252s ]
SELECT `dict_value`,`dict_label` FROM `tp_dictionary` WHERE `dict_type` = '1' ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000233s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000203s ]
SELECT * FROM `tp_field` WHERE `module_id` = 20 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000231s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000246s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000138s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 20 LIMIT 1 [ RunTime:0.000204s ]
SELECT `id`,`cate_name`,`parent_id` FROM `tp_cate` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000160s ]
SELECT `id`,`cate_folder`,`module_id` FROM `tp_cate` WHERE `id` = 4 LIMIT 1 [ RunTime:0.000248s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.000277s ]
SELECT `dict_value`,`dict_label` FROM `tp_dictionary` WHERE `dict_type` = '1' ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000208s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000175s ]
SELECT * FROM `tp_field` WHERE `module_id` = 20 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000189s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000150s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000139s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 20 LIMIT 1 [ RunTime:0.000132s ]
SELECT `id`,`cate_name`,`parent_id` FROM `tp_cate` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000138s ]
SELECT `id`,`cate_folder`,`module_id` FROM `tp_cate` WHERE `id` = 4 LIMIT 1 [ RunTime:0.000178s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.000195s ]
SELECT `dict_value`,`dict_label` FROM `tp_dictionary` WHERE `dict_type` = '1' ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000197s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000168s ]
SELECT * FROM `tp_field` WHERE `module_id` = 20 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000195s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000158s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000164s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 20 LIMIT 1 [ RunTime:0.000151s ]
SELECT `id`,`cate_name`,`parent_id` FROM `tp_cate` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000149s ]
SELECT * FROM `tp_cate` WHERE `id` = 8 LIMIT 1 [ RunTime:0.000222s ]
SELECT `id`,`parent_id` FROM `tp_cate` [ RunTime:0.000170s ]
SELECT * FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000197s ]
SHOW FULL COLUMNS FROM `tp_product` [ RunTime:0.000782s ]
SELECT * FROM `tp_product` WHERE ( status = 1 ) AND `cate_id` IN (8,9,23,34,58,85,10,24,46,47,48,82,83,84,15,63,17,39,40,42,43,44,45,18,29,61,69,70,71,72,73,74,75,76,64,65,66,67,68,77,78,79,80,81) ORDER BY `hits` DESC LIMIT 3 [ RunTime:0.000279s ]
SELECT `id`,`cate_folder`,`module_id` FROM `tp_cate` WHERE `id` = 39 LIMIT 1 [ RunTime:0.000179s ]
SELECT `model_name` FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000212s ]
SELECT * FROM `tp_field` WHERE `module_id` = 22 [ RunTime:0.000182s ]
SELECT `dict_value`,`dict_label` FROM `tp_dictionary` WHERE `dict_type` = '1' ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000176s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000190s ]
SELECT * FROM `tp_field` WHERE `module_id` = 20 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000171s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000166s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000144s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 20 LIMIT 1 [ RunTime:0.000228s ]
SELECT `id`,`cate_name`,`parent_id` FROM `tp_cate` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000154s ]
SELECT `id`,`cate_folder`,`module_id` FROM `tp_cate` WHERE `id` = 40 LIMIT 1 [ RunTime:0.000251s ]
SELECT `model_name` FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000204s ]
SELECT * FROM `tp_field` WHERE `module_id` = 22 [ RunTime:0.000191s ]
SELECT `dict_value`,`dict_label` FROM `tp_dictionary` WHERE `dict_type` = '1' ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000201s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000199s ]
SELECT * FROM `tp_field` WHERE `module_id` = 20 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000197s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000181s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000128s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 20 LIMIT 1 [ RunTime:0.000155s ]
SELECT `id`,`cate_name`,`parent_id` FROM `tp_cate` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000208s ]
SELECT `id`,`cate_folder`,`module_id` FROM `tp_cate` WHERE `id` = 42 LIMIT 1 [ RunTime:0.000170s ]
SELECT `model_name` FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000146s ]
SELECT * FROM `tp_field` WHERE `module_id` = 22 [ RunTime:0.000223s ]
SELECT `dict_value`,`dict_label` FROM `tp_dictionary` WHERE `dict_type` = '1' ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000235s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000210s ]
SELECT * FROM `tp_field` WHERE `module_id` = 20 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000213s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000155s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000126s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 20 LIMIT 1 [ RunTime:0.000136s ]
SELECT `id`,`cate_name`,`parent_id` FROM `tp_cate` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000126s ]
SHOW FULL COLUMNS FROM `tp_link` [ RunTime:0.000721s ]
SELECT * FROM `tp_link` WHERE `status` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000146s ]