SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001217s ]
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` = '10643' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000396s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 10643 [ RunTime:0.002196s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (18903,23000,2862,14886,24795,19158,10865,21126,18478,2645,1892,11882,27749,29370,20922,18550,13832,24438,15632,16831,521,23056,11388,30828) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000501s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 500 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012471s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 10643 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000479s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 10643 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000428s ]