[ DB ] CONNECT:[ UseTime:0.000792s ] mysql:host=127.0.0.1;dbname=xuanranglobal_co;charset=utf8
[ SQL ] SHOW COLUMNS FROM `tp_catalog_category` [ RunTime:0.001364s ]
[ SQL ] SELECT `id`,`name`,pid as pid,`name_en`,`sort`,`status`,`created_at`,`is_open` FROM `tp_catalog_category` WHERE `is_del` = 1 AND `status` = 1 ORDER BY `id` ASC [ RunTime:0.000976s ]
[ SQL ] SELECT * FROM `tp_catalog_category` WHERE `status` = 1 AND `is_del` = 1 AND `id` = 246 LIMIT 1 [ RunTime:0.000482s ]
[ SQL ] SELECT * FROM `tp_catalog_category` WHERE `status` = 1 AND `is_del` = 1 [ RunTime:0.000657s ]
[ SQL ] SHOW COLUMNS FROM `tp_catalog_product` [ RunTime:0.000954s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `tp_catalog_product` `g` LEFT JOIN `tp_catalog_category` `c` ON `g`.`category_id`=`c`.`id` WHERE `g`.`is_del` = 1 AND `g`.`status` = 1 AND `g`.`parent_id` = 0 AND `g`.`category_id` IN (246) LIMIT 1 [ RunTime:0.005058s ]
[ SQL ] SELECT `g`.*,c.name category_name,c.name_en category_name_en FROM `tp_catalog_product` `g` LEFT JOIN `tp_catalog_category` `c` ON `g`.`category_id`=`c`.`id` WHERE `g`.`is_del` = 1 AND `g`.`status` = 1 AND `g`.`parent_id` = 0 AND `g`.`category_id` IN (246) ORDER BY `g`.`cas_number` ASC LIMIT 0,20 [ RunTime:0.005857s ]
[ SQL ] SELECT * FROM `tp_catalog_product` WHERE `parent_id` = 7891 AND `status` = 1 AND `is_del` = 1 [ RunTime:0.033931s ]
[ SQL ] SELECT * FROM `tp_catalog_category` WHERE `id` = 163 LIMIT 1 [ RunTime:0.000566s ]
[ SQL ] SELECT * FROM `tp_catalog_category` WHERE `id` = 77 LIMIT 1 [ RunTime:0.000424s ]
[ SQL ] SELECT `id`,`name`,pid as pid,`name_en`,`sort`,`status`,`created_at`,`is_open` FROM `tp_catalog_category` WHERE `is_del` = 1 AND `status` = 1 ORDER BY `id` ASC [ RunTime:0.000713s ]
[ SQL ] SELECT * FROM `tp_catalog_category` WHERE `id` = 163 LIMIT 1 [ RunTime:0.000715s ]