SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001887s ]
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` = '213' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000687s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 213 [ RunTime:0.006041s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (977,19261,2515,8796,27119,5725,31705,2440,12608,11922,5828,10837,30904,12234,7163,30303,31473,10629,5546,31680,18898,9895,19830,30827) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000589s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 492 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.024432s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 213 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000716s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 213 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000472s ]