SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.004281s ]
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` = '1254' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000769s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 1254 [ RunTime:0.007552s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (4725,6529,716,1305,13828,17545,31699,28595,8441,17544,4088,23517,1445,9030,16325,4087,26230,5570,4342,16726,31330,18706,27129,29302) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000639s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 501 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.019086s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 1254 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000486s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 1254 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000527s ]