SHOW FULL COLUMNS FROM `ecs_shop_config` [ RunTime:0.002685s ]
SELECT * FROM `ecs_shop_config` WHERE `parent_id` <> 0 [ RunTime:0.001441s ]
SHOW FULL COLUMNS FROM `ecs_portal` [ RunTime:0.001760s ]
SELECT * FROM `ecs_portal` WHERE `domain` = 'private.yilanrecom.com.tw' LIMIT 1 [ RunTime:0.000720s ]
SHOW FULL COLUMNS FROM `ecs_portal_type` [ RunTime:0.001209s ]
SELECT * FROM `ecs_portal_type` [ RunTime:0.000440s ]
SELECT * FROM `ecs_portal` WHERE `type` = 1 [ RunTime:0.000394s ]
SHOW FULL COLUMNS FROM `ecs_portal_type_item` [ RunTime:0.001228s ]
SELECT * FROM `ecs_portal_type_item` WHERE `type_id` = 1 ORDER BY `sort_order` ASC [ RunTime:0.000629s ]
SELECT * FROM `ecs_portal` WHERE `type` = 2 [ RunTime:0.000529s ]
SELECT * FROM `ecs_portal_type_item` WHERE `type_id` = 2 ORDER BY `sort_order` ASC [ RunTime:0.000329s ]
SHOW FULL COLUMNS FROM `ecs_pt_keyword` [ RunTime:0.001197s ]
SELECT * FROM `ecs_pt_keyword` WHERE `enable` = 1 ORDER BY `sort_order` ASC,`id` DESC [ RunTime:0.000559s ]
SHOW FULL COLUMNS FROM `ecs_article_category` [ RunTime:0.001263s ]
SELECT * FROM `ecs_article_category` ORDER BY `id` ASC [ RunTime:0.000475s ]
SHOW FULL COLUMNS FROM `ecs_customer_form` [ RunTime:0.001330s ]
SELECT * FROM `ecs_customer_form` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000547s ]
SELECT * FROM `ecs_customer_form` WHERE `id` = 2 LIMIT 1 [ RunTime:0.000312s ]
SHOW FULL COLUMNS FROM `ecs_message` [ RunTime:0.001567s ]
SELECT * FROM `ecs_message` WHERE `is_marquee` = 1 ORDER BY `id` DESC [ RunTime:0.000773s ]
SHOW FULL COLUMNS FROM `ecs_adv_pt` [ RunTime:0.001264s ]
SELECT `adv_id` FROM `ecs_adv_pt` WHERE `pt_id` = 18 AND ( JSON_CONTAINS(block, '["1"]', '$') ) [ RunTime:0.002287s ]
SHOW FULL COLUMNS FROM `ecs_adv` [ RunTime:0.002154s ]
SELECT * FROM `ecs_adv` WHERE `status` = 1 AND `id` IN (1,2,3,4,5,254) ORDER BY `sort_order` ASC [ RunTime:0.000911s ]
SELECT * FROM `ecs_article_category` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000304s ]
SHOW FULL COLUMNS FROM `ecs_article` [ RunTime:0.001453s ]
SELECT * FROM `ecs_article` WHERE `cat_id` = 1 AND ( JSON_CONTAINS(show_portal, '18', '$') ) ORDER BY `update_time` DESC [ RunTime:0.000756s ]
SELECT * FROM `ecs_article_category` WHERE `id` = 2 LIMIT 1 [ RunTime:0.000309s ]
SELECT * FROM `ecs_article` WHERE `cat_id` = 2 AND ( JSON_CONTAINS(show_portal, '18', '$') ) ORDER BY `update_time` DESC [ RunTime:0.000871s ]
SELECT `adv_id` FROM `ecs_adv_pt` WHERE `pt_id` = 18 AND ( JSON_CONTAINS(block, '["2"]', '$') ) [ RunTime:0.001720s ]
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 ('1','2','3','4','5','6','10','13','14','15','16','19','21','254') ORDER BY `a`.`sort_order` ASC [ RunTime:0.001146s ]
SELECT `adv_id` FROM `ecs_adv_pt` WHERE `pt_id` = 18 AND ( JSON_CONTAINS(block, '["3"]', '$') ) [ RunTime:0.001727s ]
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 ('1','2','3','4','5','6','10','13','14','15','16','19','21','254') ORDER BY `a`.`sort_order` ASC [ RunTime:0.000709s ]
SELECT `adv_id` FROM `ecs_adv_pt` WHERE `pt_id` = 18 AND ( JSON_CONTAINS(block, '["4"]', '$') ) [ RunTime:0.001810s ]
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 ('1','2','3','4','5','6','10','13','14','15','16','19','21','254') ORDER BY `a`.`sort_order` ASC [ RunTime:0.000710s ]
SELECT `adv_id` FROM `ecs_adv_pt` WHERE `pt_id` = 18 AND ( JSON_CONTAINS(block, '["5"]', '$') ) [ RunTime:0.001717s ]
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 ('1','2','3','4','5','6','10','13','14','15','16','254') OR `a`.`create_time` > '2025-04-20 02:08:03' ) ORDER BY `sort_order` ASC [ RunTime:0.001063s ]
SELECT `adv_id` FROM `ecs_adv_pt` WHERE `pt_id` = 18 AND ( JSON_CONTAINS(block, '["6"]', '$') ) [ RunTime:0.001684s ]
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 ('1','2','3','4','5','6','10','12','13','14','15','16','17','18','19','21','23','31','254','43','255','256','257','258','259','260','261','262','263','264','265','266','267','268','269','270','271','272','273') ORDER BY CASE WHEN a.type IN (1,2) THEN 1 ELSE 2 END, RAND() [ RunTime:0.001807s ]
SHOW FULL COLUMNS FROM `ecs_message_category` [ RunTime:0.001805s ]
SELECT * FROM `ecs_message_category` WHERE `enable` = 1 ORDER BY `sort_order` ASC [ RunTime:0.000643s ]
SELECT * FROM `ecs_message` WHERE ( JSON_CONTAINS(show_portal, '18', '$') ) ORDER BY `is_top` DESC,`date` DESC [ RunTime:0.000702s ]
SELECT `cat_name` FROM `ecs_message_category` WHERE `id` = 2 LIMIT 1 [ RunTime:0.000280s ]
SELECT `cat_name` FROM `ecs_message_category` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000287s ]
SELECT `cat_name` FROM `ecs_message_category` WHERE `id` = 10 LIMIT 1 [ RunTime:0.000224s ]
SELECT `cat_name` FROM `ecs_message_category` WHERE `id` = 10 LIMIT 1 [ RunTime:0.000209s ]
SELECT `cat_name` FROM `ecs_message_category` WHERE `id` = 10 LIMIT 1 [ RunTime:0.000246s ]
SELECT `cat_name` FROM `ecs_message_category` WHERE `id` = 7 LIMIT 1 [ RunTime:0.000240s ]
SELECT `cat_name` FROM `ecs_message_category` WHERE `id` = 10 LIMIT 1 [ RunTime:0.000298s ]
SELECT `cat_name` FROM `ecs_message_category` WHERE `id` = 10 LIMIT 1 [ RunTime:0.000247s ]
SELECT `cat_name` FROM `ecs_message_category` WHERE `id` = 10 LIMIT 1 [ RunTime:0.000214s ]
SELECT `cat_name` FROM `ecs_message_category` WHERE `id` = 10 LIMIT 1 [ RunTime:0.000233s ]
SELECT `cat_name` FROM `ecs_message_category` WHERE `id` = 10 LIMIT 1 [ RunTime:0.000208s ]