[ DB ] CONNECT:[ UseTime:0.000710s ] mysql:host=127.0.0.1;dbname=xuanranglobal_co;charset=utf8
[ SQL ] SHOW COLUMNS FROM `tp_catalog_category` [ RunTime:0.001179s ]
[ 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.000903s ]
[ SQL ] SELECT * FROM `tp_catalog_category` WHERE `status` = 1 AND `is_del` = 1 AND `id` = 295 LIMIT 1 [ RunTime:0.000452s ]
[ SQL ] SELECT * FROM `tp_catalog_category` WHERE `status` = 1 AND `is_del` = 1 [ RunTime:0.000768s ]
[ SQL ] SHOW COLUMNS FROM `tp_catalog_product` [ RunTime:0.001936s ]
[ 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 (295) LIMIT 1 [ RunTime:0.014458s ]
[ 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 (295) ORDER BY `g`.`cas_number` ASC LIMIT 0,20 [ RunTime:0.011780s ]
[ SQL ] SELECT * FROM `tp_catalog_product` WHERE `parent_id` = 5867 AND `status` = 1 AND `is_del` = 1 [ RunTime:0.036281s ]
[ SQL ] SELECT * FROM `tp_catalog_category` WHERE `id` = 120 LIMIT 1 [ RunTime:0.000416s ]
[ SQL ] SELECT * FROM `tp_catalog_category` WHERE `id` = 73 LIMIT 1 [ RunTime:0.000233s ]
[ 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.000550s ]
[ SQL ] SELECT * FROM `tp_catalog_category` WHERE `id` = 120 LIMIT 1 [ RunTime:0.001005s ]