SHOW FULL COLUMNS FROM `ims_shop_member` [ RunTime:0.000804s ]
SELECT `id`,`username`,`mobile`,`nickname`,`avatar`,`realname`,`credit2`,`is_check`,`check_type`,`createtime`,`introduce`,`email`,`is_developer`,`developer_level`,`siteid_num`,`token`,`invite_code`,`isagent` FROM `ims_shop_member` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000384s ]
SHOW FULL COLUMNS FROM `ims_shop_article` [ RunTime:0.000793s ]
SELECT COUNT(*) AS think_count FROM `ims_shop_article` WHERE `enabled` = 1 AND `deleted` = 0 AND ( FIND_IN_SET('页面排版优化',labels)<>0 ) LIMIT 1 [ RunTime:0.002568s ]
SELECT id,title,thumb,showtime,(viewcount+viewcount_v) viewcount,video_url,(likenum+likenum_v) likenum,author,labels,pcateid FROM `ims_shop_article` WHERE `enabled` = 1 AND `deleted` = 0 AND ( FIND_IN_SET('页面排版优化',labels)<>0 ) ORDER BY `isrecommend` DESC,`showtime` DESC,`displayorder` DESC,`id` DESC LIMIT 0,10 [ RunTime:0.003293s ]
SELECT id,title,thumb,showtime,(viewcount+viewcount_v) viewcount,video_url,(likenum+likenum_v) likenum,author,labels FROM `ims_shop_article` WHERE `enabled` = 1 AND `deleted` = 0 AND ( FIND_IN_SET('页面排版优化',labels)<>0 ) AND `isrecommend` = 1 ORDER BY `displayorder` DESC,`showtime` DESC,`id` DESC LIMIT 0,10 [ RunTime:0.002623s ]
SHOW FULL COLUMNS FROM `ims_shop_article_label` [ RunTime:0.000605s ]
SELECT * FROM `ims_shop_article_label` WHERE `label` = '页面排版优化' LIMIT 1 [ RunTime:0.000962s ]
UPDATE `ims_shop_article_label` SET `viewcount` = viewcount + 1 WHERE `label` = '页面排版优化' [ RunTime:0.003356s ]
SHOW FULL COLUMNS FROM `ims_shop_article_adv` [ RunTime:0.000504s ]
SELECT `id`,`advname`,`thumb`,`link` FROM `ims_shop_article_adv` WHERE `enabled` = 1 AND `deleted` = 0 ORDER BY `displayorder` DESC,`id` DESC LIMIT 0,5 [ RunTime:0.000286s ]
SELECT `id`,`label` FROM `ims_shop_article_label` WHERE `status` = 1 AND `deleted` = 0 ORDER BY `displayorder` DESC,`viewcount` DESC,`id` DESC LIMIT 0,5 [ RunTime:0.005529s ]
select sum(viewcount) as total_view,userid from ims_shop_article where deleted=0 and userid!=0 group by userid order by total_view desc limit 5 [ RunTime:0.000771s ]
SELECT * FROM `ims_shop_member` WHERE `uniacid` = 1 AND `id` = 2 LIMIT 1 [ RunTime:0.000649s ]
select count(1) as art_num from ims_shop_article where deleted=0 and userid=2 [ RunTime:0.001054s ]
SELECT * FROM `ims_shop_member` WHERE `uniacid` = 1 AND `id` = 15 LIMIT 1 [ RunTime:0.003190s ]
select count(1) as art_num from ims_shop_article where deleted=0 and userid=15 [ RunTime:0.002805s ]
SELECT * FROM `ims_shop_member` WHERE `uniacid` = 1 AND `id` = 1 LIMIT 1 [ RunTime:0.003128s ]
select count(1) as art_num from ims_shop_article where deleted=0 and userid=1 [ RunTime:0.000914s ]
SELECT * FROM `ims_shop_member` WHERE `uniacid` = 1 AND `id` = 16 LIMIT 1 [ RunTime:0.015348s ]
select count(1) as art_num from ims_shop_article where deleted=0 and userid=16 [ RunTime:0.003593s ]
SELECT * FROM `ims_shop_member` WHERE `uniacid` = 1 AND `id` = 35 LIMIT 1 [ RunTime:0.000429s ]
select count(1) as art_num from ims_shop_article where deleted=0 and userid=35 [ RunTime:0.000471s ]