SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001292s ]
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` = '123' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000445s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 123 [ RunTime:0.003018s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (8013,22365,22358,13068,27190,13774,24778,20239,6570,778,5425,23342,23041,4721,25425,30674,26950,25233,4347,20674,10755,17902,30822,25894) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000573s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 492 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.019054s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 123 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000474s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 123 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.003031s ]