SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001288s ]
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` = '296' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000437s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 296 [ RunTime:0.005409s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (2480,8135,5111,10614,24283,10524,28917,13506,30812,5537,3577,15195,28502,23898,21040,30616,32243,13280,18101,23787,1690,7723,7913,3280) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.001179s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 493 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012272s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 296 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000480s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 296 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000634s ]