SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001302s ]
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` = '12138' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000563s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 12138 [ RunTime:0.002058s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (15197,18888,3180,1962,15440,13222,12811,23437,26038,6914,10236,25664,1547,12273,7323,24604,979,22651,178,23223,30123,19468,28143,13246) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000517s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 500 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012291s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 12138 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000595s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 12138 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.001093s ]