SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001202s ]
SELECT `a`.`hp`,`a`.`sl`,`a`.`xl`,`a`.`yy`,b.name as Cname,b.id as Cid FROM `tool_couplet` `a` INNER JOIN `tool_category` `b` ON `a`.`category_id`=`b`.`id` WHERE `a`.`id` = '12309' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.002681s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 12309 [ RunTime:0.003468s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (30098,24902,23040,1602,3300,16165,15999,7631,28451,7454,11293,13243,1841,30873,8439,4640,3358,7037,21368,15609,21032,15559,14219,13047) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000786s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 506 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.013561s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 12309 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000495s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 12309 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000570s ]