SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001109s ]
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` = '1131' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000328s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 1131 [ RunTime:0.003860s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (18393,21415,719,4853,6447,4315,5290,21259,5916,29287,21058,20864,21122,19650,9583,10866,1601,28554,19001,13157,15225,6717,25665,11233) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000848s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 500 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.013701s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 1131 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000500s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 1131 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000327s ]