SHOW FULL COLUMNS FROM `ims_shop_member` [ RunTime:0.001020s ]
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.001395s ]
SHOW FULL COLUMNS FROM `ims_shop_article` [ RunTime:0.004696s ]
SELECT * FROM `ims_shop_article` WHERE `id` = 16 LIMIT 1 [ RunTime:0.001394s ]
UPDATE `ims_shop_article` SET `viewcount` = viewcount + 1 WHERE `id` = 16 [ RunTime:0.011540s ]
SHOW FULL COLUMNS FROM `ims_shop_article_category` [ RunTime:0.000925s ]
SELECT `id`,`name` FROM `ims_shop_article_category` WHERE `id` = 4 AND `enabled` = 1 LIMIT 1 [ RunTime:0.001339s ]
SHOW FULL COLUMNS FROM `ims_shop_article_like` [ RunTime:0.000796s ]
SELECT COUNT(*) AS think_count FROM `ims_shop_article_like` WHERE `mid` = 0 AND `article_id` = 16 LIMIT 1 [ RunTime:0.000300s ]
SHOW FULL COLUMNS FROM `ims_shop_article_collect` [ RunTime:0.000573s ]
SELECT COUNT(*) AS think_count FROM `ims_shop_article_collect` WHERE `mid` = 0 AND `article_id` = 16 LIMIT 1 [ RunTime:0.000306s ]
SELECT COUNT(*) AS think_count FROM `ims_shop_article_like` WHERE `article_id` = 16 LIMIT 1 [ RunTime:0.000317s ]
SELECT COUNT(*) AS think_count FROM `ims_shop_article_collect` WHERE `article_id` = 16 LIMIT 1 [ RunTime:0.000249s ]
SELECT COUNT(*) AS think_count FROM `ims_shop_article` WHERE `enabled` = 1 AND `deleted` = 0 LIMIT 1 [ RunTime:0.000628s ]
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 ORDER BY `isrecommend` DESC,`showtime` DESC,`displayorder` DESC,`id` DESC LIMIT 0,10 [ RunTime:0.000630s ]
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 `isrecommend` = 1 ORDER BY `displayorder` DESC,`showtime` DESC,`id` DESC LIMIT 0,10 [ RunTime:0.000557s ]
SELECT `id`,`username`,`nickname`,`realname`,`avatar` FROM `ims_shop_member` WHERE `id` = 2 LIMIT 1 [ RunTime:0.000347s ]
SELECT sum(viewcount) view_count,sum(likenum + likenum_v) like_count,sum(collectcount) collect_count FROM `ims_shop_article` WHERE `userid` = 2 AND `deleted` = 0 LIMIT 1 [ RunTime:0.000430s ]
SHOW FULL COLUMNS FROM `ims_shop_article_comment` [ RunTime:0.000619s ]
SELECT * FROM `ims_shop_article_comment` WHERE `article_id` = 16 AND `enabled` = 1 AND `deleted` = 0 LIMIT 0,10 [ RunTime:0.000684s ]
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.001336s ]
SELECT * FROM `ims_shop_member` WHERE `uniacid` = 1 AND `id` = 2 LIMIT 1 [ RunTime:0.001484s ]
select count(1) as art_num from ims_shop_article where deleted=0 and userid=2 [ RunTime:0.000429s ]
SELECT * FROM `ims_shop_member` WHERE `uniacid` = 1 AND `id` = 15 LIMIT 1 [ RunTime:0.001254s ]
select count(1) as art_num from ims_shop_article where deleted=0 and userid=15 [ RunTime:0.000459s ]
SELECT * FROM `ims_shop_member` WHERE `uniacid` = 1 AND `id` = 1 LIMIT 1 [ RunTime:0.001040s ]
select count(1) as art_num from ims_shop_article where deleted=0 and userid=1 [ RunTime:0.001338s ]
SELECT * FROM `ims_shop_member` WHERE `uniacid` = 1 AND `id` = 16 LIMIT 1 [ RunTime:0.000922s ]
select count(1) as art_num from ims_shop_article where deleted=0 and userid=16 [ RunTime:0.000867s ]
SELECT * FROM `ims_shop_member` WHERE `uniacid` = 1 AND `id` = 35 LIMIT 1 [ RunTime:0.000933s ]
select count(1) as art_num from ims_shop_article where deleted=0 and userid=35 [ RunTime:0.001170s ]
SHOW FULL COLUMNS FROM `ims_shop_article_label` [ RunTime:0.004613s ]
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.000958s ]
SHOW FULL COLUMNS FROM `ims_shop_article_adv` [ RunTime:0.002373s ]
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.000369s ]
发表评论