SHOW FULL COLUMNS FROM `g3ys_member` [ RunTime:0.002097s ]
SELECT * FROM `g3ys_member` WHERE `id` = 0 AND `subsite_id` = '0' LIMIT 1 [ RunTime:0.000734s ]
SHOW FULL COLUMNS FROM `g3ys_category` [ RunTime:0.001797s ]
SELECT `id` FROM `g3ys_category` WHERE `document_type` = 0 AND `status` = 1 AND `subsite_id` = '0' [ RunTime:0.000745s ]
SHOW FULL COLUMNS FROM `g3ys_model` [ RunTime:0.002244s ]
SELECT `extend` FROM `g3ys_model` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000542s ]
SHOW FULL COLUMNS FROM `g3ys_attribute` [ RunTime:0.001316s ]
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.000801s ]
SELECT `extend` FROM `g3ys_model` WHERE `id` = 4 LIMIT 1 [ RunTime:0.000446s ]
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.000892s ]
SHOW TABLES LIKE 'g3ys_document_diamond' [ RunTime:0.002532s ]
SHOW FULL COLUMNS FROM `g3ys_document` [ RunTime:0.002289s ]
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 (85,86,89,90,91,92,93,94,95,96,97,98,213,214,215,216,217,218,219,220,221,87,99,100,101,102,103,104,105,106,107,108,88,109,110,111,112,113,114,115,116,117,118,119,208,209,210,211,212) AND `pid` = '0' AND `status` = '1' AND `document_type` = 0 AND `subsite_id` = 0 [ RunTime:0.001262s ]