SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.000998s ]
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` = '870' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000399s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 870 [ RunTime:0.003291s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (20378,32118,10043,21453,14573,21524,16969,28957,23702,21780,19195,27592,28584,31738,710,10693,28246,18199,29587,17894,12876,10665,18652,18914) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.001494s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 498 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.014087s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 870 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000432s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 870 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000537s ]