SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001143s ]
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` = '21787' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.001339s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 21787 [ RunTime:0.003467s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (12556,1828,13273,9671,11621,12389,10507,29307,13342,776,21268,8390,13958,17450,798,9368,22203,16704,18846,22083,14934,4241,2031,5779) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000692s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 517 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.015181s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 21787 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000474s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 21787 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.002441s ]