SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001130s ]
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` = '12711' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000344s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 12711 [ RunTime:0.001704s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (19003,12062,12598,21968,6527,28179,19183,1704,2921,18242,17357,4936,28019,10620,8958,23943,12361,19184,26131,2864,26976,30434,25919,10173) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000518s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 506 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012722s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 12711 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000701s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 12711 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000474s ]