SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001211s ]
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` = '4677' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000354s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 4677 [ RunTime:0.004461s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (31596,25140,25110,26382,20762,25713,3676,17321,25525,1559,8517,18506,8956,12315,23896,24805,16777,28953,27536,2714,23076,1965,7792,4679) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.004120s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 513 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.019346s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 4677 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000564s ]