SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001223s ]
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` = '19831' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000392s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 19831 [ RunTime:0.001940s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (26689,10702,2244,16063,2658,21817,16726,19832,19410,12072,14251,603,21050,27347,28269,12049,25010,11793,18657,4842,541,4778,30398,18172) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000504s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 501 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012528s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 19831 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000455s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 19831 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000468s ]