SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001409s ]
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` = '12789' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.001314s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 12789 [ RunTime:0.001817s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (31155,506,24521,32023,8723,25790,425,14791,12036,2951,23249,23865,17046,22053,1350,1993,26465,21023,4556,11886,22953,25733,567,10272) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000457s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 520 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012203s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 12789 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000483s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 12789 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000552s ]