[ DB ] CONNECT:[ UseTime:0.000470s ] mysql:host=127.0.0.1;port=3306;dbname=amgartlight_com;charset=utf8mb4
[ SQL ] SHOW COLUMNS FROM `g3ys_member` [ RunTime:0.001573s ]
[ SQL ] SELECT * FROM `g3ys_member` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000484s ]
[ SQL ] SHOW COLUMNS FROM `g3ys_document` [ RunTime:0.001408s ]
[ SQL ] SELECT `id`,`uid`,`name`,`title`,`category_id`,`description`,`pid`,`model_id`,`position`,`url`,`pic`,`sort`,`create_time`,`update_time`,`status`,`price`,`brand`,`percent`,`keywords`,`seotitle`,`subsite_id`,`intro`,`pics`,`tags`,`error`,`lat`,`lng`,`country`,`province`,`city`,`district`,`community`,`sync`,`shorttitle`,`template`,`video`,`show_groups`,`relative`,`money_type`,`document_type`,`object_type`,`object_id`,`object_category_id`,`object_sort`,`object_position`,`attr`,`attr_id`,`buy_groups`,`discount`,`pics_data`,`spec`,`object_status`,`fujian` FROM `g3ys_document` WHERE `id` = 5 LIMIT 1 [ RunTime:0.000569s ]
[ DB ] CONNECT:[ UseTime:0.000315s ] mysql:host=127.0.0.1;port=3306;dbname=amgartlight_com;charset=utf8mb4
[ SQL ] SHOW TABLES LIKE 'g3ys_document_article' [ RunTime:0.000804s ]
[ DB ] CONNECT:[ UseTime:0.000314s ] mysql:host=127.0.0.1;port=3306;dbname=amgartlight_com;charset=utf8mb4
[ SQL ] SHOW COLUMNS FROM `g3ys_document_article` [ RunTime:0.000976s ]
[ SQL ] SELECT * FROM `g3ys_document_article` WHERE `document_id` = 5 [ RunTime:0.000350s ]
[ DB ] CONNECT:[ UseTime:0.000301s ] mysql:host=127.0.0.1;port=3306;dbname=amgartlight_com;charset=utf8mb4
[ SQL ] SHOW COLUMNS FROM `g3ys_total` [ RunTime:0.001102s ]
[ SQL ] SHOW COLUMNS FROM `g3ys_total` [ RunTime:0.001082s ]
[ SQL ] SELECT `target_id`,`view_total`,`down_total`,`favor_total`,`comment_total`,`picture_total`,`focus_total`,`up_total`,`top_total`,`noup_total`,`video_total`,`attach_total`,`music_total`,`reply_total`,`question_total`,`help_total`,`share_total`,`sale_total`,`return_sale_total`,`change_sale_total`,`good_comment_total`,`bad_comment_total`,`extend_total` FROM `g3ys_total` WHERE `target_id` = 5 LIMIT 1 [ RunTime:0.000393s ]
[ SQL ] SELECT * FROM `g3ys_total` WHERE `target_id` = 5 LIMIT 1 [ RunTime:0.000352s ]
[ SQL ] UPDATE `g3ys_total` SET `view_total` = `view_total` + 1 WHERE `target_id` = 5 [ RunTime:0.000379s ]
[ DB ] CONNECT:[ UseTime:0.000358s ] mysql:host=127.0.0.1;port=3306;dbname=amgartlight_com;charset=utf8mb4
[ SQL ] SHOW COLUMNS FROM `g3ys_comment` [ RunTime:0.001239s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `g3ys_comment` WHERE `target_id` = 5 AND `pid` = 0 [ RunTime:0.000299s ]
[ SQL ] SELECT * FROM `g3ys_comment` WHERE `target_id` = 5 AND `pid` = 0 ORDER BY `id` DESC LIMIT 0,5 [ RunTime:0.000390s ]
[ SQL ] SELECT * FROM `g3ys_document` WHERE `category_id` = 2 AND `subsite_id` = 0 AND `pid` = 0 AND `status` = 1 AND ( ( sort > 0) or ( sort = 0 and id < 5) ) ORDER BY `sort` ASC,`id` DESC LIMIT 1 [ RunTime:0.000619s ]
[ SQL ] SELECT * FROM `g3ys_document` WHERE `category_id` = 2 AND `subsite_id` = 0 AND `pid` = 5 AND `status` = 1 AND `document_type` = 0 ORDER BY `sort` DESC,`id` ASC LIMIT 1 [ RunTime:0.000570s ]
[ SQL ] SELECT * FROM `g3ys_document` WHERE `category_id` = 2 AND `subsite_id` = 0 AND `pid` = 0 AND `status` = 1 AND `document_type` = 0 AND ( ( sort>0 and sort <= 0 and id!=5) or ( sort = 0 and id > 5) ) ORDER BY `sort` DESC,`id` ASC LIMIT 1 [ RunTime:0.000652s ]