SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001100s ]
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` = '12587' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000321s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 12587 [ RunTime:0.002028s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (27458,612,29590,4108,25802,24744,22347,12366,27144,2841,11743,27197,2253,2136,26983,6746,9103,12866,28409,24014,31183,4190,14358,18895) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000541s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 524 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012165s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 12587 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000458s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 12587 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000622s ]