SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001342s ]
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` = '12479' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000437s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 12479 [ RunTime:0.002243s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (12520,24941,2004,13977,31872,30888,3360,7500,26521,4322,7283,3467,4745,27285,17068,6827,14136,20295,18696,16620,19873,24441,7127,17481) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000608s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 500 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.014407s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 12479 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000552s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 12479 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000571s ]