SHOW FULL COLUMNS FROM `tp_system` [ RunTime:0.000845s ]
SELECT * FROM `tp_system` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000459s ]
SHOW FULL COLUMNS FROM `tp_cate` [ RunTime:0.000709s ]
SELECT `id`,`cate_name`,`cate_folder`,`module_id` FROM `tp_cate` ORDER BY `sort` DESC,`id` DESC [ RunTime:0.000301s ]
SHOW FULL COLUMNS FROM `tp_module` [ RunTime:0.000685s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000350s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000353s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000287s ]
SELECT * FROM `tp_module` WHERE `id` = 18 LIMIT 1 [ RunTime:0.000280s ]
SELECT * FROM `tp_module` WHERE `id` = 25 LIMIT 1 [ RunTime:0.000259s ]
SELECT * FROM `tp_module` WHERE `id` = 24 LIMIT 1 [ RunTime:0.000273s ]
SELECT * FROM `tp_module` WHERE `id` = 23 LIMIT 1 [ RunTime:0.000256s ]
SELECT * FROM `tp_module` WHERE `id` = 21 LIMIT 1 [ RunTime:0.000286s ]
SELECT * FROM `tp_module` WHERE `id` = 19 LIMIT 1 [ RunTime:0.000242s ]
SELECT * FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000299s ]
SELECT * FROM `tp_system` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000409s ]
SELECT `module_id` FROM `tp_cate` WHERE `id` = 9 LIMIT 1 [ RunTime:0.000332s ]
SELECT `table_name` FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000254s ]
SHOW FULL COLUMNS FROM `tp_field` [ RunTime:0.000653s ]
SELECT * FROM `tp_field` WHERE `module_id` = 22 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000589s ]
SELECT * FROM `tp_cate` WHERE `id` = 9 LIMIT 1 [ RunTime:0.000400s ]
SELECT `id`,`parent_id` FROM `tp_cate` [ RunTime:0.000243s ]
SHOW FULL COLUMNS FROM `tp_product` [ RunTime:0.000572s ]
UPDATE `tp_product` SET `hits` = `hits` + 1 WHERE `id` = 338 [ RunTime:0.003242s ]
SELECT * FROM `tp_module` WHERE `table_name` = 'product' LIMIT 1 [ RunTime:0.000309s ]
SELECT * FROM `tp_product` WHERE `id` = 338 LIMIT 1 [ RunTime:0.000302s ]
SELECT * FROM `tp_module` WHERE `table_name` = 'product' LIMIT 1 [ RunTime:0.000436s ]
SELECT * FROM `tp_field` WHERE `module_id` = 22 ORDER BY `sort` DESC,`id` DESC [ RunTime:0.000487s ]
SHOW FULL COLUMNS FROM `tp_dictionary` [ RunTime:0.000549s ]
SELECT `dict_value`,`dict_label` FROM `tp_dictionary` WHERE `dict_type` = '1' ORDER BY `sort` DESC,`id` DESC [ RunTime:0.000283s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000284s ]
SELECT * FROM `tp_field` WHERE `module_id` = 6 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000337s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000300s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000196s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 6 LIMIT 1 [ RunTime:0.000337s ]
SHOW FULL COLUMNS FROM `tp_users_type` [ RunTime:0.000507s ]
SELECT `id`,`name` FROM `tp_users_type` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000197s ]
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.000514s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000251s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000253s ]
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.000237s ]
SELECT `id` FROM `tp_cate` WHERE `module_id` = 22 [ RunTime:0.000217s ]
SELECT `id`,`cate_folder`,`module_id` FROM `tp_cate` WHERE `id` = 9 LIMIT 1 [ RunTime:0.000255s ]
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.000511s ]
SELECT * FROM `tp_module` WHERE `id` IN (22,19,21,23,18) [ RunTime:0.000314s ]
SELECT * FROM `tp_cate` WHERE `is_menu` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000402s ]
SELECT * FROM `tp_module` WHERE `id` IN (22,19,21,23,18) [ RunTime:0.000301s ]
SELECT * FROM `tp_cate` WHERE `id` = 8 LIMIT 1 [ RunTime:0.000306s ]
SELECT * FROM `tp_module` WHERE `id` = 22 [ RunTime:0.000244s ]
SELECT * FROM `tp_cate` WHERE `id` = 8 LIMIT 1 [ RunTime:0.000327s ]
SELECT * FROM `tp_module` WHERE `id` = 22 [ RunTime:0.000281s ]
SELECT * FROM `tp_cate` WHERE `id` = 10 LIMIT 1 [ RunTime:0.000264s ]
SELECT * FROM `tp_module` WHERE `id` = 22 [ RunTime:0.000221s ]
SELECT * FROM `tp_cate` [ RunTime:0.000277s ]
SELECT * FROM `tp_module` WHERE `id` IN (18,19,21,22,23,24,25) [ RunTime:0.000311s ]
SELECT * FROM `tp_cate` WHERE `is_menu` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000333s ]
SELECT * FROM `tp_module` WHERE `id` IN (22,19,21,23,18) [ RunTime:0.000293s ]
SELECT * FROM `tp_cate` WHERE `id` = 9 LIMIT 1 [ RunTime:0.000264s ]
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` < 338 AND `status` = 1 ORDER BY `sort` ASC,`id` DESC LIMIT 1 [ RunTime:0.000619s ]
SELECT * FROM `tp_cate` WHERE `id` = 9 LIMIT 1 [ RunTime:0.000334s ]
SELECT * FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000264s ]
SELECT * FROM `tp_cate` WHERE `id` = 9 LIMIT 1 [ RunTime:0.000261s ]
SELECT * FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000244s ]
SELECT `id`,`cate_id`,`title` FROM `tp_product` WHERE `cate_id` = '9' AND `id` > 338 AND `status` = 1 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000316s ]
SELECT * FROM `tp_cate` WHERE `id` = 9 LIMIT 1 [ RunTime:0.000244s ]
SELECT * FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000290s ]
SELECT * FROM `tp_cate` WHERE `id` = 4 LIMIT 1 [ RunTime:0.000288s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000235s ]
SELECT `id`,`parent_id` FROM `tp_cate` [ RunTime:0.000224s ]
SHOW FULL COLUMNS FROM `tp_article` [ RunTime:0.000622s ]
SELECT * FROM `tp_article` WHERE ( image <> '' AND status = 1 ) AND `cate_id` IN (4,5,6) ORDER BY `id` DESC LIMIT 5 [ RunTime:0.000367s ]
SELECT * FROM `tp_cate` WHERE `id` IN (5,6) [ RunTime:0.000291s ]
SELECT * FROM `tp_cate` WHERE `id` IN (5,6) [ RunTime:0.000268s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000268s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.000692s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000244s ]
SHOW FULL COLUMNS FROM `tp_dictionary_type` [ RunTime:0.000527s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000238s ]
SELECT `dict_value`,`dict_label` FROM `tp_dictionary` WHERE `dict_type` = '1' ORDER BY `sort` DESC,`id` DESC [ RunTime:0.000313s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000300s ]
SELECT * FROM `tp_field` WHERE `module_id` = 20 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000516s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000256s ]
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.000321s ]
SELECT `id`,`cate_name`,`parent_id` FROM `tp_cate` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000232s ]
SELECT `id` FROM `tp_cate` WHERE `module_id` = 19 [ RunTime:0.000203s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000272s ]
SELECT * FROM `tp_field` WHERE `module_id` = 6 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000335s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000294s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000222s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 6 LIMIT 1 [ RunTime:0.000359s ]
SELECT `id`,`name` FROM `tp_users_type` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000193s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.000713s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000281s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000285s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.000674s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000333s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000267s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.000737s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000265s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000259s ]
SELECT * FROM `tp_field` WHERE `module_id` = 19 [ RunTime:0.000811s ]
SELECT * FROM `tp_module` WHERE `id` = 19 [ RunTime:0.000260s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000258s ]
SELECT * FROM `tp_cate` WHERE `id` = 8 LIMIT 1 [ RunTime:0.000362s ]
SELECT * FROM `tp_module` WHERE `id` = 22 [ RunTime:0.000234s ]
SELECT `id`,`parent_id` FROM `tp_cate` [ RunTime:0.000193s ]
SELECT * FROM `tp_product` WHERE ( status = 1 ) AND `cate_id` IN ('8','9','10') ORDER BY `hits` DESC LIMIT 3 [ RunTime:0.005189s ]
SELECT * FROM `tp_cate` WHERE `id` IN (10,9) [ RunTime:0.000358s ]
SELECT * FROM `tp_cate` WHERE `id` IN (10,9) [ RunTime:0.000276s ]
SELECT * FROM `tp_module` WHERE `id` = 22 [ RunTime:0.000262s ]
SELECT * FROM `tp_field` WHERE `module_id` = 22 [ RunTime:0.000700s ]
SELECT * FROM `tp_module` WHERE `id` = 22 [ RunTime:0.000265s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000249s ]
SELECT `dict_value`,`dict_label` FROM `tp_dictionary` WHERE `dict_type` = '1' ORDER BY `sort` DESC,`id` DESC [ RunTime:0.000311s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000284s ]
SELECT * FROM `tp_field` WHERE `module_id` = 20 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000517s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000264s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'Cate' LIMIT 1 [ RunTime:0.000226s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 20 LIMIT 1 [ RunTime:0.000282s ]
SELECT `id`,`cate_name`,`parent_id` FROM `tp_cate` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000224s ]
SELECT `id` FROM `tp_cate` WHERE `module_id` = 22 [ RunTime:0.000203s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000254s ]
SELECT * FROM `tp_field` WHERE `module_id` = 6 AND `field` = 'sort' LIMIT 1 [ RunTime:0.000333s ]
SELECT * FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000334s ]
SELECT `id` FROM `tp_module` WHERE `model_name` = 'UsersType' LIMIT 1 [ RunTime:0.000341s ]
SELECT `field` FROM `tp_field` WHERE ( field = 'pid' OR field = 'parent_id' ) AND `module_id` = 6 LIMIT 1 [ RunTime:0.000345s ]
SELECT `id`,`name` FROM `tp_users_type` ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000259s ]
SELECT * FROM `tp_field` WHERE `module_id` = 22 [ RunTime:0.000713s ]
SELECT * FROM `tp_module` WHERE `id` = 22 [ RunTime:0.000270s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000254s ]
SELECT * FROM `tp_field` WHERE `module_id` = 22 [ RunTime:0.000732s ]
SELECT * FROM `tp_module` WHERE `id` = 22 [ RunTime:0.000246s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000285s ]
SELECT * FROM `tp_field` WHERE `module_id` = 22 [ RunTime:0.000768s ]
SELECT * FROM `tp_module` WHERE `id` = 22 [ RunTime:0.000281s ]
SELECT * FROM `tp_dictionary_type` WHERE `id` IN (0,1) [ RunTime:0.000256s ]
SHOW FULL COLUMNS FROM `tp_link` [ RunTime:0.000583s ]
SELECT * FROM `tp_link` WHERE `status` = 1 ORDER BY `sort` ASC,`id` DESC [ RunTime:0.000291s ]