[ DB ] CONNECT:[ UseTime:0.000482s ] mysql:host=127.0.0.1;dbname=xuanranglobal_co;charset=utf8
[ SQL ] SHOW COLUMNS FROM `tp_catalog_category` [ RunTime:0.019695s ]
[ 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.001943s ]
[ SQL ] SELECT * FROM `tp_catalog_category` WHERE `status` = 1 AND `is_del` = 1 AND `id` = 185 LIMIT 1 [ RunTime:0.000981s ]
[ SQL ] SELECT * FROM `tp_catalog_category` WHERE `status` = 1 AND `is_del` = 1 [ RunTime:0.001674s ]
[ SQL ] SHOW COLUMNS FROM `tp_catalog_product` [ RunTime:0.005458s ]
[ 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 (185) LIMIT 1 [ RunTime:0.014896s ]
[ 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 (185) ORDER BY `g`.`cas_number` ASC LIMIT 0,20 [ RunTime:0.010639s ]
[ SQL ] SELECT * FROM `tp_catalog_product` WHERE `parent_id` = 9457 AND `status` = 1 AND `is_del` = 1 [ RunTime:0.048019s ]
[ SQL ] SELECT * FROM `tp_catalog_category` WHERE `id` = 179 LIMIT 1 [ RunTime:0.000513s ]
[ SQL ] SELECT * FROM `tp_catalog_category` WHERE `id` = 78 LIMIT 1 [ RunTime:0.000393s ]
[ 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.000687s ]
[ SQL ] SELECT * FROM `tp_catalog_category` WHERE `id` = 179 LIMIT 1 [ RunTime:0.000632s ]