SHOW FULL COLUMNS FROM `tp_system` [ RunTime:0.005487s ]
SELECT * FROM `tp_system` WHERE `id` = 1 LIMIT 1 [ RunTime:0.001787s ]
SHOW FULL COLUMNS FROM `tp_cate` [ RunTime:0.005998s ]
SELECT `id`,`cate_name`,`cate_folder`,`module_id` FROM `tp_cate` ORDER BY `sort` DESC,`id` DESC [ RunTime:0.002530s ]
SHOW FULL COLUMNS FROM `tp_module` [ RunTime:0.004440s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.001351s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.001758s ]
SELECT * FROM `tp_module` WHERE `id` = 25 LIMIT 1 [ RunTime:0.002800s ]
SELECT * FROM `tp_module` WHERE `id` = 24 LIMIT 1 [ RunTime:0.002792s ]
SELECT * FROM `tp_module` WHERE `id` = 23 LIMIT 1 [ RunTime:0.001541s ]
SELECT * FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.001070s ]
SELECT * FROM `tp_module` WHERE `id` = 21 LIMIT 1 [ RunTime:0.002287s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.001576s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000464s ]
SELECT * FROM `tp_system` WHERE `id` = 1 LIMIT 1 [ RunTime:0.001579s ]
SELECT `module_id` FROM `tp_cate` WHERE `cate_folder` = 'News' LIMIT 1 [ RunTime:0.000525s ]
SELECT `table_name` FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000338s ]
SHOW FULL COLUMNS FROM `tp_field` [ RunTime:0.002093s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000466s ]
SELECT `id` FROM `tp_cate` WHERE `cate_folder` = 'News' LIMIT 1 [ RunTime:0.000382s ]
SELECT * FROM `tp_cate` WHERE `id` = 4 LIMIT 1 [ RunTime:0.001000s ]
SELECT `id`,`parent_id` FROM `tp_cate` [ RunTime:0.000468s ]
SHOW FULL COLUMNS FROM `tp_article` [ RunTime:0.001926s ]
UPDATE `tp_article` SET `hits` = `hits` + 1 WHERE `id` = 94 [ RunTime:0.009544s ]
SELECT * FROM `tp_module` WHERE `table_name` = 'article' LIMIT 1 [ RunTime:0.001180s ]
SELECT * FROM `tp_article` WHERE `id` = 94 LIMIT 1 [ RunTime:0.001449s ]
SELECT * FROM `tp_module` WHERE `table_name` = 'article' LIMIT 1 [ RunTime:0.001348s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 ORDER BY `sort`,`id` DESC [ RunTime:0.000718s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.001928s ]
SELECT * FROM `tp_field` WHERE `module_id` = 20 AND `field` = 'sort' LIMIT 1 [ RunTime:0.001503s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.002336s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000795s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 20 LIMIT 1 [ RunTime:0.000394s ]
SELECT `id`,`cate_name`,`parent_id` FROM `tp_cate` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000353s ]
SHOW FULL COLUMNS FROM `tp_dictionary` [ RunTime:0.001847s ]
SELECT `dict_value`,`dict_label` FROM `tp_dictionary` WHERE `dict_type` = '1' ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000728s ]
SELECT `id`,`cate_folder`,`module_id` FROM `tp_cate` WHERE `id` = 4 LIMIT 1 [ RunTime:0.001258s ]
SELECT * FROM `tp_cate` WHERE `id` = 4 LIMIT 1 [ RunTime:0.001118s ]
SELECT * FROM `tp_cate` WHERE `id` = 4 LIMIT 1 [ RunTime:0.000707s ]
SELECT * FROM `tp_cate` WHERE `id` = 4 LIMIT 1 [ RunTime:0.000601s ]
SELECT * FROM `tp_cate` [ RunTime:0.000924s ]
SELECT `id` FROM `tp_cate` WHERE `cate_folder` = 'News' LIMIT 1 [ RunTime:0.001349s ]
SELECT * FROM `tp_cate` WHERE `is_menu` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.001841s ]
SELECT `id` FROM `tp_cate` WHERE `cate_folder` = 'News' LIMIT 1 [ RunTime:0.001151s ]
SELECT * FROM `tp_cate` WHERE `id` = 4 LIMIT 1 [ RunTime:0.001761s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.001193s ]
SELECT `id`,`cate_id`,`title` FROM `tp_article` WHERE `cate_id` = 4 AND `id` < 94 AND `status` = 1 ORDER BY `sort` ASC,`id` DESC LIMIT 1 [ RunTime:0.003119s ]
SELECT `id`,`cate_folder`,`module_id` FROM `tp_cate` WHERE `id` = 4 LIMIT 1 [ RunTime:0.001088s ]
SELECT `id` FROM `tp_cate` WHERE `cate_folder` = 'News' LIMIT 1 [ RunTime:0.001273s ]
SELECT * FROM `tp_cate` WHERE `id` = 4 LIMIT 1 [ RunTime:0.001514s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.001393s ]
SELECT `id`,`cate_id`,`title` FROM `tp_article` WHERE `cate_id` = 4 AND `id` > 94 AND `status` = 1 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.001254s ]
SELECT `id`,`cate_folder`,`module_id` FROM `tp_cate` WHERE `id` = 4 LIMIT 1 [ RunTime:0.000645s ]
SELECT * FROM `tp_cate` WHERE `id` = 4 LIMIT 1 [ RunTime:0.002361s ]
SELECT `id`,`parent_id` FROM `tp_cate` [ RunTime:0.001680s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.001235s ]
SELECT * FROM `tp_article` WHERE ( image <> '' AND status = 1 ) AND `cate_id` = 4 ORDER BY `id` DESC LIMIT 5 [ RunTime:0.002278s ]
SELECT `id`,`cate_folder`,`module_id` FROM `tp_cate` WHERE `id` = 4 LIMIT 1 [ RunTime:0.002125s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.001644s ]
SELECT `dict_value`,`dict_label` FROM `tp_dictionary` WHERE `dict_type` = '1' ORDER BY `sort` ASC,`id` DESC [ RunTime:0.001781s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.001111s ]
SELECT * FROM `tp_field` WHERE `module_id` = 20 AND `field` = 'sort' LIMIT 1 [ RunTime:0.001065s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.001191s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000843s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 20 LIMIT 1 [ RunTime:0.001107s ]
SELECT `id`,`cate_name`,`parent_id` FROM `tp_cate` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000587s ]
SELECT `id`,`cate_folder`,`module_id` FROM `tp_cate` WHERE `id` = 4 LIMIT 1 [ RunTime:0.001642s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.001553s ]
SELECT `dict_value`,`dict_label` FROM `tp_dictionary` WHERE `dict_type` = '1' ORDER BY `sort` ASC,`id` DESC [ RunTime:0.001390s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.001798s ]
SELECT * FROM `tp_field` WHERE `module_id` = 20 AND `field` = 'sort' LIMIT 1 [ RunTime:0.003205s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000929s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000621s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 20 LIMIT 1 [ RunTime:0.000792s ]
SELECT `id`,`cate_name`,`parent_id` FROM `tp_cate` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000828s ]
SELECT `id`,`cate_folder`,`module_id` FROM `tp_cate` WHERE `id` = 4 LIMIT 1 [ RunTime:0.000532s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.001139s ]
SELECT `dict_value`,`dict_label` FROM `tp_dictionary` WHERE `dict_type` = '1' ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000485s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000483s ]
SELECT * FROM `tp_field` WHERE `module_id` = 20 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000420s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000449s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000574s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 20 LIMIT 1 [ RunTime:0.001116s ]
SELECT `id`,`cate_name`,`parent_id` FROM `tp_cate` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000900s ]
SELECT `id`,`cate_folder`,`module_id` FROM `tp_cate` WHERE `id` = 4 LIMIT 1 [ RunTime:0.000679s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.000775s ]
SELECT `dict_value`,`dict_label` FROM `tp_dictionary` WHERE `dict_type` = '1' ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000836s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000664s ]
SELECT * FROM `tp_field` WHERE `module_id` = 20 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000726s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000819s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.001306s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 20 LIMIT 1 [ RunTime:0.001720s ]
SELECT `id`,`cate_name`,`parent_id` FROM `tp_cate` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000652s ]
SELECT `id`,`cate_folder`,`module_id` FROM `tp_cate` WHERE `id` = 4 LIMIT 1 [ RunTime:0.001956s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.000816s ]
SELECT `dict_value`,`dict_label` FROM `tp_dictionary` WHERE `dict_type` = '1' ORDER BY `sort` ASC,`id` DESC [ RunTime:0.001978s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.002502s ]
SELECT * FROM `tp_field` WHERE `module_id` = 20 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000991s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.001009s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.001033s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 20 LIMIT 1 [ RunTime:0.001003s ]
SELECT `id`,`cate_name`,`parent_id` FROM `tp_cate` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.001296s ]
SELECT * FROM `tp_cate` WHERE `id` = 8 LIMIT 1 [ RunTime:0.001391s ]
SELECT `id`,`parent_id` FROM `tp_cate` [ RunTime:0.001967s ]
SELECT * FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.002073s ]
SHOW FULL COLUMNS FROM `tp_product` [ RunTime:0.012020s ]
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.007369s ]
SELECT `id`,`cate_folder`,`module_id` FROM `tp_cate` WHERE `id` = 40 LIMIT 1 [ RunTime:0.002123s ]
SELECT `model_name` FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.001923s ]
SELECT * FROM `tp_field` WHERE `module_id` = 22 [ RunTime:0.001538s ]
SELECT `dict_value`,`dict_label` FROM `tp_dictionary` WHERE `dict_type` = '1' ORDER BY `sort` ASC,`id` DESC [ RunTime:0.001265s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000467s ]
SELECT * FROM `tp_field` WHERE `module_id` = 20 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000632s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000448s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000316s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 20 LIMIT 1 [ RunTime:0.000435s ]
SELECT `id`,`cate_name`,`parent_id` FROM `tp_cate` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000339s ]
SELECT `id`,`cate_folder`,`module_id` FROM `tp_cate` WHERE `id` = 39 LIMIT 1 [ RunTime:0.000442s ]
SELECT `model_name` FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000402s ]
SELECT * FROM `tp_field` WHERE `module_id` = 22 [ RunTime:0.001379s ]
SELECT `dict_value`,`dict_label` FROM `tp_dictionary` WHERE `dict_type` = '1' ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000455s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000432s ]
SELECT * FROM `tp_field` WHERE `module_id` = 20 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000519s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000422s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000415s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 20 LIMIT 1 [ RunTime:0.000358s ]
SELECT `id`,`cate_name`,`parent_id` FROM `tp_cate` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000405s ]
SELECT `id`,`cate_folder`,`module_id` FROM `tp_cate` WHERE `id` = 42 LIMIT 1 [ RunTime:0.000366s ]
SELECT `model_name` FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000372s ]
SELECT * FROM `tp_field` WHERE `module_id` = 22 [ RunTime:0.000445s ]
SELECT `dict_value`,`dict_label` FROM `tp_dictionary` WHERE `dict_type` = '1' ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000503s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000480s ]
SELECT * FROM `tp_field` WHERE `module_id` = 20 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000498s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000455s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000421s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 20 LIMIT 1 [ RunTime:0.000570s ]
SELECT `id`,`cate_name`,`parent_id` FROM `tp_cate` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000449s ]
SHOW FULL COLUMNS FROM `tp_link` [ RunTime:0.002440s ]
SELECT * FROM `tp_link` WHERE `status` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000543s ]