SHOW FULL COLUMNS FROM `ecs_shop_config` [ RunTime:0.002723s ]
SELECT * FROM `ecs_shop_config` WHERE `parent_id` <> 0 [ RunTime:0.001273s ]
SHOW FULL COLUMNS FROM `ecs_portal` [ RunTime:0.001723s ]
SELECT * FROM `ecs_portal` WHERE `domain` = 'pet.yilanrecom.com.tw' LIMIT 1 [ RunTime:0.000766s ]
SHOW FULL COLUMNS FROM `ecs_portal_type` [ RunTime:0.001203s ]
SELECT * FROM `ecs_portal_type` [ RunTime:0.000514s ]
SELECT * FROM `ecs_portal` WHERE `type` = 1 [ RunTime:0.000369s ]
SHOW FULL COLUMNS FROM `ecs_portal_type_item` [ RunTime:0.001236s ]
SELECT * FROM `ecs_portal_type_item` WHERE `type_id` = 1 ORDER BY `sort_order` ASC [ RunTime:0.000801s ]
SELECT * FROM `ecs_portal` WHERE `type` = 2 [ RunTime:0.000545s ]
SELECT * FROM `ecs_portal_type_item` WHERE `type_id` = 2 ORDER BY `sort_order` ASC [ RunTime:0.000341s ]
SHOW FULL COLUMNS FROM `ecs_pt_keyword` [ RunTime:0.001201s ]
SELECT * FROM `ecs_pt_keyword` WHERE `enable` = 1 ORDER BY `sort_order` ASC,`id` DESC [ RunTime:0.000651s ]
SHOW FULL COLUMNS FROM `ecs_article_category` [ RunTime:0.001400s ]
SELECT * FROM `ecs_article_category` ORDER BY `id` ASC [ RunTime:0.000582s ]
SHOW FULL COLUMNS FROM `ecs_customer_form` [ RunTime:0.001280s ]
SELECT * FROM `ecs_customer_form` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000591s ]
SELECT * FROM `ecs_customer_form` WHERE `id` = 2 LIMIT 1 [ RunTime:0.000360s ]
SHOW FULL COLUMNS FROM `ecs_message` [ RunTime:0.001577s ]
SELECT * FROM `ecs_message` WHERE `is_marquee` = 1 ORDER BY `id` DESC [ RunTime:0.000852s ]
SHOW FULL COLUMNS FROM `ecs_adv_pt` [ RunTime:0.001342s ]
SELECT `adv_id` FROM `ecs_adv_pt` WHERE `pt_id` = 5 AND ( JSON_CONTAINS(block, '["1"]', '$') ) [ RunTime:0.002489s ]
SHOW FULL COLUMNS FROM `ecs_adv` [ RunTime:0.001808s ]
SELECT * FROM `ecs_adv` WHERE `status` = 1 AND `id` IN (7,1,8) ORDER BY `sort_order` ASC [ RunTime:0.000890s ]
SELECT * FROM `ecs_article_category` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000348s ]
SHOW FULL COLUMNS FROM `ecs_article` [ RunTime:0.001575s ]
SELECT * FROM `ecs_article` WHERE `cat_id` = 1 AND ( JSON_CONTAINS(show_portal, '5', '$') ) ORDER BY `update_time` DESC [ RunTime:0.001158s ]
SELECT * FROM `ecs_article_category` WHERE `id` = 2 LIMIT 1 [ RunTime:0.000300s ]
SELECT * FROM `ecs_article` WHERE `cat_id` = 2 AND ( JSON_CONTAINS(show_portal, '5', '$') ) ORDER BY `update_time` DESC [ RunTime:0.003326s ]
SELECT `adv_id` FROM `ecs_adv_pt` WHERE `pt_id` = 5 AND ( JSON_CONTAINS(block, '["2"]', '$') ) [ RunTime:0.001837s ]
SELECT `a`.*,`u`.`address`,`u`.`description`,`u`.`introduction`,`u`.`tel` FROM `ecs_adv` `a` INNER JOIN `ecs_users` `u` ON `a`.`user_id`=`u`.`user_id` WHERE `a`.`status` = '1' AND `a`.`id` IN ('7','1','8','10','15','16','20') ORDER BY `a`.`sort_order` ASC [ RunTime:0.001004s ]
SELECT `adv_id` FROM `ecs_adv_pt` WHERE `pt_id` = 5 AND ( JSON_CONTAINS(block, '["3"]', '$') ) [ RunTime:0.001713s ]
SELECT `a`.*,`u`.`address`,`u`.`description`,`u`.`introduction`,`u`.`tel` FROM `ecs_adv` `a` INNER JOIN `ecs_users` `u` ON `a`.`user_id`=`u`.`user_id` WHERE `a`.`status` = '1' AND `a`.`id` IN ('7','1','8','10','15','16','20') ORDER BY `a`.`sort_order` ASC [ RunTime:0.000596s ]
SELECT `adv_id` FROM `ecs_adv_pt` WHERE `pt_id` = 5 AND ( JSON_CONTAINS(block, '["4"]', '$') ) [ RunTime:0.001739s ]
SELECT `a`.*,`u`.`address`,`u`.`description`,`u`.`introduction`,`u`.`tel` FROM `ecs_adv` `a` INNER JOIN `ecs_users` `u` ON `a`.`user_id`=`u`.`user_id` WHERE `a`.`status` = '1' AND `a`.`id` IN ('7','1','8','10','15','16','20') ORDER BY `a`.`sort_order` ASC [ RunTime:0.000551s ]
SELECT `adv_id` FROM `ecs_adv_pt` WHERE `pt_id` = 5 AND ( JSON_CONTAINS(block, '["5"]', '$') ) [ RunTime:0.001728s ]
SELECT `a`.*,`u`.`address`,`u`.`description`,`u`.`introduction`,`u`.`tel` FROM `ecs_adv` `a` INNER JOIN `ecs_users` `u` ON `a`.`user_id`=`u`.`user_id` WHERE `a`.`status` = '1' AND `a`.`type` <> '0' AND ( `a`.`id` IN ('7','1','8','10','15','16','20') OR `a`.`create_time` > '2025-01-04 08:55:41' ) ORDER BY `sort_order` ASC [ RunTime:0.001368s ]
SELECT `adv_id` FROM `ecs_adv_pt` WHERE `pt_id` = 5 AND ( JSON_CONTAINS(block, '["6"]', '$') ) [ RunTime:0.001896s ]
SELECT `a`.*,`u`.`address`,`u`.`description`,`u`.`introduction`,`u`.`tel` FROM `ecs_adv` `a` INNER JOIN `ecs_users` `u` ON `a`.`user_id`=`u`.`user_id` WHERE `a`.`status` = '1' AND `a`.`id` IN ('148','24','45','55','57','66','69','102','103','127','128','130','135','136','7','147','1','2','5','8','10','13','14','15','16','17','18','19','22','23','25','26','27','28','29','30','31','32','33','34','35','36','37','38','39','40','41','42','43','44','46','47','48','49','50','51','52','53','54','56','58','59','60','61','62','63','64','65','67','68','70','71','72','78','81','85','87','93','73','74','75','76','77','79','80','82','83','84','86','88','89','90','91','92','94','95','96','97','98','99','100','101','104','105','106','107','108','109','110','111','112','113','114','115','116','117','118','119','120','121','122','123','124','125','126','129','131','132','133','134','137','138','139','140','141','142','143','144','145','146','152','153','154','155','156','157','158','159','160','161','162','163','164','165','166','167','168','169','170','171','172','173','174','175','176','177','178','179','180','181','182','183','184','185','186','187','188','189','190','191','192','193','194','195','196','197','198','199','200','201','202','203','204','205','206','207','208','209','210','211','212','213','214','215','216','217','218','219','220','221','222','223','224','225','226','227','228','229','230','231','232','233','234','235','236','237','238','239','240','241','242','243','244','245','246','247','248','249','250','251','252','253','21','20') ORDER BY CASE WHEN a.type IN (1,2) THEN 1 ELSE 2 END, RAND() [ RunTime:0.008235s ]
SHOW FULL COLUMNS FROM `ecs_message_category` [ RunTime:0.002073s ]
SELECT * FROM `ecs_message_category` WHERE `enable` = 1 ORDER BY `sort_order` ASC [ RunTime:0.000646s ]
SELECT * FROM `ecs_message` WHERE ( JSON_CONTAINS(show_portal, '5', '$') ) ORDER BY `is_top` DESC,`date` DESC [ RunTime:0.000508s ]
SELECT `cat_name` FROM `ecs_message_category` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000303s ]
SELECT `cat_name` FROM `ecs_message_category` WHERE `id` = 8 LIMIT 1 [ RunTime:0.000325s ]
SELECT `cat_name` FROM `ecs_message_category` WHERE `id` = 8 LIMIT 1 [ RunTime:0.000271s ]
SELECT `cat_name` FROM `ecs_message_category` WHERE `id` = 8 LIMIT 1 [ RunTime:0.000215s ]
SELECT `cat_name` FROM `ecs_message_category` WHERE `id` = 8 LIMIT 1 [ RunTime:0.000208s ]
SELECT `cat_name` FROM `ecs_message_category` WHERE `id` = 8 LIMIT 1 [ RunTime:0.000249s ]
SELECT `cat_name` FROM `ecs_message_category` WHERE `id` = 8 LIMIT 1 [ RunTime:0.000211s ]