SHOW FULL COLUMNS FROM `xn_category` [ RunTime:0.010475s ]
SELECT * FROM `xn_category` ORDER BY `sort` ASC,`id` ASC [ RunTime:0.007540s ]
SELECT * FROM `xn_category` WHERE `type` = 1 AND `is_plan` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.003914s ]
SELECT * FROM `xn_category` WHERE `type` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.005428s ]
SELECT * FROM `xn_category` WHERE `type` = 2 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.003803s ]
SHOW FULL COLUMNS FROM `xn_online` [ RunTime:0.009840s ]
SELECT * FROM `xn_online` WHERE `category_name` = 'index' AND `type` = 1 ORDER BY `sort` DESC [ RunTime:0.002485s ]
SELECT * FROM `xn_online` WHERE `category_name` = 'index' AND `type` = 2 ORDER BY `sort` DESC [ RunTime:0.002415s ]
SELECT * FROM `xn_online` WHERE `category_name` = 'index' AND `type` = 3 LIMIT 1 [ RunTime:0.002356s ]
SHOW FULL COLUMNS FROM `xn_main_category` [ RunTime:0.009660s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 0 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002495s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 46 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002427s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 49 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002485s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 74 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002439s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 75 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002431s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 76 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002432s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 77 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002391s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 78 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002415s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 79 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002405s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 50 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002452s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 51 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002391s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 52 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002427s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 61 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002396s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 62 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002434s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 53 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002478s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 63 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002377s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 64 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002385s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 57 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002364s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 60 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002361s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 58 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002456s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 72 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002451s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 54 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002397s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 55 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002374s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 56 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002369s ]
SHOW FULL COLUMNS FROM `xn_footer` [ RunTime:0.010120s ]
SELECT * FROM `xn_footer` ORDER BY `sort` DESC [ RunTime:0.002528s ]
SELECT * FROM `xn_footer` WHERE `type` = 1 ORDER BY `sort` DESC [ RunTime:0.002429s ]
SELECT * FROM `xn_footer` WHERE `type` = 2 ORDER BY `sort` DESC [ RunTime:0.002521s ]
SHOW FULL COLUMNS FROM `xn_main_news` [ RunTime:0.009724s ]
SELECT * FROM `xn_main_news` WHERE `status` = 1 AND `type` = 1 ORDER BY `sort` DESC,`create_time` DESC LIMIT 6 [ RunTime:0.002631s ]
SHOW FULL COLUMNS FROM `xn_main_banner` [ RunTime:0.009689s ]
SELECT * FROM `xn_main_banner` WHERE `category_id` = 65 ORDER BY `sort` DESC [ RunTime:0.002469s ]
SELECT * FROM `xn_main_banner` WHERE `category_id` = 68 ORDER BY `sort` DESC [ RunTime:0.002606s ]
SELECT * FROM `xn_main_banner` WHERE `category_id` = 66 ORDER BY `sort` DESC [ RunTime:0.002473s ]
SHOW FULL COLUMNS FROM `xn_books` [ RunTime:0.010097s ]
SELECT `b`.*,`r`.`location`,r.sort as rsort,`r`.`book_id` FROM `xn_books` `b` INNER JOIN `xn_books_recommend` `r` ON `r`.`book_id`=`b`.`id` WHERE `b`.`type` = '1' AND `r`.`location` = '1' AND `r`.`category_name` = 'main' ORDER BY `r`.`sort` ASC LIMIT 6 [ RunTime:0.003124s ]
SELECT `b`.*,`r`.`location`,r.sort as rsort,`r`.`book_id` FROM `xn_books` `b` INNER JOIN `xn_books_recommend` `r` ON `r`.`book_id`=`b`.`id` WHERE `b`.`type` = '1' AND `r`.`category_name` = 'main' AND `r`.`location` = '4' ORDER BY `r`.`sort` ASC LIMIT 3 [ RunTime:0.002935s ]
SELECT `b`.*,`r`.`location`,r.sort as rsort,`r`.`book_id` FROM `xn_books` `b` INNER JOIN `xn_books_recommend` `r` ON `r`.`book_id`=`b`.`id` WHERE `b`.`type` = '2' AND `r`.`location` = '1' AND `r`.`category_name` = 'main' ORDER BY `r`.`sort` ASC LIMIT 6 [ RunTime:0.002949s ]
SELECT `b`.*,`r`.`location`,r.sort as rsort,`r`.`book_id` FROM `xn_books` `b` INNER JOIN `xn_books_recommend` `r` ON `r`.`book_id`=`b`.`id` WHERE `b`.`type` = '2' AND `r`.`category_name` = 'main' AND `r`.`location` = '4' ORDER BY `r`.`sort` ASC LIMIT 3 [ RunTime:0.002944s ]
SHOW FULL COLUMNS FROM `xn_keyword` [ RunTime:0.009524s ]
SELECT * FROM `xn_keyword` WHERE `type` = 'main' AND `type_resources` = 1 ORDER BY `sort` DESC [ RunTime:0.002466s ]
SELECT * FROM `xn_keyword` WHERE `type` = 'main' AND `type_resources` = 2 ORDER BY `sort` DESC [ RunTime:0.002429s ]
SELECT * FROM `xn_keyword` WHERE `type` = 'main' AND `type_resources` = 3 ORDER BY `sort` DESC [ RunTime:0.002445s ]
SHOW FULL COLUMNS FROM `xn_click_count` [ RunTime:0.009506s ]
SELECT * FROM `xn_click_count` WHERE `date` = '2024-09-17' AND `web_name` = 'index' LIMIT 1 [ RunTime:0.003440s ]
UPDATE `xn_click_count` SET `number` = `number` + 1 WHERE `id` = 6395 [ RunTime:0.002437s ]