SHOW FULL COLUMNS FROM `g3ys_member` [ RunTime:0.029550s ]
SELECT * FROM `g3ys_member` WHERE `id` = 0 AND `subsite_id` = '0' LIMIT 1 [ RunTime:0.001006s ]
SHOW FULL COLUMNS FROM `g3ys_category` [ RunTime:0.014668s ]
SELECT `id` FROM `g3ys_category` WHERE `document_type` = 0 AND `status` = 1 AND `subsite_id` = '0' [ RunTime:0.001051s ]
SHOW FULL COLUMNS FROM `g3ys_model` [ RunTime:0.007729s ]
SELECT `extend` FROM `g3ys_model` WHERE `id` = 1 LIMIT 1 [ RunTime:0.003791s ]
SHOW FULL COLUMNS FROM `g3ys_attribute` [ RunTime:0.002118s ]
SELECT `id`,`name`,`title`,`field`,`type`,`value`,`remark`,`is_show`,`extra`,`model_id`,`is_must`,`status`,`update_time`,`create_time`,`fields`,`search`,`relative`,`relative_fields` FROM `g3ys_attribute` WHERE `model_id` = 1 [ RunTime:0.003151s ]
SELECT `extend` FROM `g3ys_model` WHERE `id` = 4 LIMIT 1 [ RunTime:0.007650s ]
SELECT `id`,`name`,`title`,`field`,`type`,`value`,`remark`,`is_show`,`extra`,`model_id`,`is_must`,`status`,`update_time`,`create_time`,`fields`,`search`,`relative`,`relative_fields` FROM `g3ys_attribute` WHERE `model_id` IN (4,1) [ RunTime:0.008093s ]
SHOW TABLES LIKE 'g3ys_document_diamond' [ RunTime:0.011921s ]
SHOW FULL COLUMNS FROM `g3ys_document` [ RunTime:0.008422s ]
SELECT COUNT(*) AS think_count FROM `g3ys_document` `a` INNER JOIN `g3ys_total` `t` ON `a`.`id`=`t`.`target_id` INNER JOIN `g3ys_document_diamond` `d` ON `a`.`id`=`d`.`document_id` WHERE `category_id` IN (7,202,8,9,10,11,12,13,14,15,16,17,343,203,204,206) AND `pid` = '0' AND `status` = '1' AND `document_type` = 0 AND `subsite_id` = 0 [ RunTime:0.019621s ]