SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001740s ]
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` = '1175' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000473s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 1175 [ RunTime:0.003070s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (6749,2389,7251,20933,20316,7020,16188,8457,12057,8623,19550,386,28245,1152,18939,2564,18247,16644,15877,28426,24324,3235,1994,11644) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.001595s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 500 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012859s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 1175 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000526s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 1175 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000586s ]