SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001201s ]
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` = '30' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000381s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 30 [ RunTime:0.002491s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (25502,18891,6880,7514,15139,8811,15511,17517,30565,22888,21121,11033,23110,14153,26501,6974,14236,24270,25603,29412,10018,24956,1211,30717) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000636s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 491 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.015310s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 30 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000840s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 30 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000570s ]