[ DB ] CONNECT:[ UseTime:0.000410s ] mysql:host=127.0.0.1;port=3306;dbname=sql367664;charset=utf8
[ SQL ] SHOW COLUMNS FROM `ds_articleclass` [ RunTime:0.000442s ]
[ SQL ] SELECT * FROM `ds_articleclass` WHERE `ac_id` <= 7 ORDER BY `ac_sort` ASC [ RunTime:0.000229s ]
[ SQL ] SHOW COLUMNS FROM `ds_article` [ RunTime:0.000309s ]
[ SQL ] SELECT `article`.`article_id`,`article`.`ac_id`,`article`.`article_url`,`article`.`article_title`,`article`.`article_time`,`article_class`.`ac_name`,`article_class`.`ac_parent_id` FROM `ds_article` `article` LEFT JOIN `ds_articleclass` `article_class` ON `article`.`ac_id`=`article_class`.`ac_id` WHERE ( article.article_show = '1' and (article_class.ac_id <= 7 or (article_class.ac_parent_id > 0 and article_class.ac_parent_id <= 7)) ) ORDER BY `article_sort` ASC,`article_time` DESC LIMIT 300 [ RunTime:0.000313s ]
[ SQL ] SHOW COLUMNS FROM `ds_goodscommon` [ RunTime:0.000486s ]
[ SQL ] SELECT `goods`.`goods_id`,`goodscommon`.`goods_name`,`goodscommon`.`goods_advword`,`goodscommon`.`goods_image`,`goodscommon`.`store_id`,`goods`.`goods_promotion_price`,`goodscommon`.`goods_price` FROM `ds_goodscommon` `goodscommon` INNER JOIN `ds_goods` `goods` ON `goods`.`goods_commonid`=`goodscommon`.`goods_commonid` WHERE `goodscommon`.`mall_goods_commend` = 1 AND `goodscommon`.`goods_state` = 1 AND `goodscommon`.`goods_verify` = 1 GROUP BY `goodscommon`.`goods_commonid` ORDER BY `goodscommon`.`mall_goods_sort` ASC LIMIT 5 [ RunTime:0.000313s ]
[ SQL ] SHOW COLUMNS FROM `ds_pxianshigoods` [ RunTime:0.000304s ]
[ SQL ] SELECT * FROM `ds_pxianshigoods` WHERE `xianshigoods_state` = 1 AND `xianshigoods_starttime` < 1737813348 AND `xianshigoods_end_time` > 1737813348 ORDER BY `xianshigoods_recommend` DESC LIMIT 5 [ RunTime:0.000187s ]
[ SQL ] SHOW COLUMNS FROM `ds_goods` [ RunTime:0.000319s ]
[ SQL ] SELECT * FROM `ds_goods` WHERE `goods_state` = 1 AND `goods_verify` = 1 GROUP BY `goods_commonid` ORDER BY `goods_addtime` DESC LIMIT 5 [ RunTime:0.000844s ]
[ SQL ] SHOW COLUMNS FROM `ds_groupbuy` [ RunTime:0.000418s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `ds_groupbuy` WHERE `groupbuy_state` = 20 AND `groupbuy_starttime` < 1737813348 AND `groupbuy_endtime` > 1737813348 LIMIT 1 [ RunTime:0.000171s ]
[ SQL ] SELECT * FROM `ds_groupbuy` WHERE `groupbuy_state` = 20 AND `groupbuy_starttime` < 1737813348 AND `groupbuy_endtime` > 1737813348 ORDER BY `groupbuy_recommended` DESC LIMIT 0,15 [ RunTime:0.000173s ]
[ SQL ] SHOW COLUMNS FROM `ds_link` [ RunTime:0.000255s ]
[ SQL ] SELECT * FROM `ds_link` ORDER BY `link_sort` ASC [ RunTime:0.000126s ]
[ SQL ] SELECT `a`.`article_id`,`a`.`article_url`,`a`.`article_title` FROM `ds_article` `a` INNER JOIN `ds_articleclass` `ac` ON `a`.`ac_id`=`ac`.`ac_id` WHERE `ac`.`ac_code` = 'notice' AND `a`.`article_show` = 1 ORDER BY `a`.`article_sort` ASC,`a`.`article_time` DESC LIMIT 3 [ RunTime:0.000203s ]
[ SQL ] SHOW COLUMNS FROM `ds_goodsclass` [ RunTime:0.000241s ]
[ SQL ] SELECT * FROM `ds_goodsclass` WHERE `gc_parent_id` = 0 AND `gc_show` = 1 ORDER BY `gc_sort` ASC [ RunTime:0.000167s ]
[ SQL ] SELECT * FROM `ds_goodsclass` WHERE ( gc_parent_id=768 ) [ RunTime:0.000137s ]
[ SQL ] SELECT `goods`.`goods_id`,`goodscommon`.`goods_marketprice`,`goodscommon`.`goods_name`,`goodscommon`.`goods_advword`,`goodscommon`.`goods_image`,`goodscommon`.`store_id`,`goods`.`goods_promotion_price`,`goodscommon`.`goods_price` FROM `ds_goodscommon` `goodscommon` INNER JOIN `ds_goods` `goods` ON `goods`.`goods_commonid`=`goodscommon`.`goods_commonid` WHERE `goodscommon`.`gc_id` IN (768) AND `goodscommon`.`goods_state` = 1 AND `goodscommon`.`goods_verify` = 1 GROUP BY `goodscommon`.`goods_commonid` ORDER BY `goodscommon`.`mall_goods_commend` DESC,`goodscommon`.`mall_goods_sort` ASC LIMIT 10 [ RunTime:0.000324s ]
[ SQL ] SELECT * FROM `ds_goodsclass` WHERE ( gc_parent_id=768 ) ORDER BY `gc_sort` DESC LIMIT 5 [ RunTime:0.000154s ]
[ SQL ] SELECT * FROM `ds_goodsclass` WHERE ( gc_parent_id=769 ) [ RunTime:0.000115s ]
[ SQL ] SELECT `goods`.`goods_id`,`goodscommon`.`goods_marketprice`,`goodscommon`.`goods_name`,`goodscommon`.`goods_advword`,`goodscommon`.`goods_image`,`goodscommon`.`store_id`,`goods`.`goods_promotion_price`,`goodscommon`.`goods_price` FROM `ds_goodscommon` `goodscommon` INNER JOIN `ds_goods` `goods` ON `goods`.`goods_commonid`=`goodscommon`.`goods_commonid` WHERE `goodscommon`.`gc_id` IN (769) AND `goodscommon`.`goods_state` = 1 AND `goodscommon`.`goods_verify` = 1 GROUP BY `goodscommon`.`goods_commonid` ORDER BY `goodscommon`.`mall_goods_commend` DESC,`goodscommon`.`mall_goods_sort` ASC LIMIT 10 [ RunTime:0.000500s ]
[ SQL ] SELECT * FROM `ds_goodsclass` WHERE ( gc_parent_id=769 ) ORDER BY `gc_sort` DESC LIMIT 5 [ RunTime:0.000165s ]
[ SQL ] SELECT * FROM `ds_goodsclass` WHERE ( gc_parent_id=764 ) [ RunTime:0.000122s ]
[ SQL ] SELECT `goods`.`goods_id`,`goodscommon`.`goods_marketprice`,`goodscommon`.`goods_name`,`goodscommon`.`goods_advword`,`goodscommon`.`goods_image`,`goodscommon`.`store_id`,`goods`.`goods_promotion_price`,`goodscommon`.`goods_price` FROM `ds_goodscommon` `goodscommon` INNER JOIN `ds_goods` `goods` ON `goods`.`goods_commonid`=`goodscommon`.`goods_commonid` WHERE `goodscommon`.`gc_id` IN (764) AND `goodscommon`.`goods_state` = 1 AND `goodscommon`.`goods_verify` = 1 GROUP BY `goodscommon`.`goods_commonid` ORDER BY `goodscommon`.`mall_goods_commend` DESC,`goodscommon`.`mall_goods_sort` ASC LIMIT 10 [ RunTime:0.000426s ]
[ SQL ] SELECT * FROM `ds_goodsclass` WHERE ( gc_parent_id=764 ) ORDER BY `gc_sort` DESC LIMIT 5 [ RunTime:0.000165s ]
[ SQL ] SELECT * FROM `ds_goodsclass` WHERE ( gc_parent_id=765 ) [ RunTime:0.000109s ]
[ SQL ] SELECT `goods`.`goods_id`,`goodscommon`.`goods_marketprice`,`goodscommon`.`goods_name`,`goodscommon`.`goods_advword`,`goodscommon`.`goods_image`,`goodscommon`.`store_id`,`goods`.`goods_promotion_price`,`goodscommon`.`goods_price` FROM `ds_goodscommon` `goodscommon` INNER JOIN `ds_goods` `goods` ON `goods`.`goods_commonid`=`goodscommon`.`goods_commonid` WHERE `goodscommon`.`gc_id` IN (765) AND `goodscommon`.`goods_state` = 1 AND `goodscommon`.`goods_verify` = 1 GROUP BY `goodscommon`.`goods_commonid` ORDER BY `goodscommon`.`mall_goods_commend` DESC,`goodscommon`.`mall_goods_sort` ASC LIMIT 10 [ RunTime:0.000410s ]
[ SQL ] SELECT * FROM `ds_goodsclass` WHERE ( gc_parent_id=765 ) ORDER BY `gc_sort` DESC LIMIT 5 [ RunTime:0.000149s ]
[ SQL ] SELECT * FROM `ds_goodsclass` WHERE ( gc_parent_id=766 ) [ RunTime:0.000111s ]
[ SQL ] SELECT `goods`.`goods_id`,`goodscommon`.`goods_marketprice`,`goodscommon`.`goods_name`,`goodscommon`.`goods_advword`,`goodscommon`.`goods_image`,`goodscommon`.`store_id`,`goods`.`goods_promotion_price`,`goodscommon`.`goods_price` FROM `ds_goodscommon` `goodscommon` INNER JOIN `ds_goods` `goods` ON `goods`.`goods_commonid`=`goodscommon`.`goods_commonid` WHERE `goodscommon`.`gc_id` IN (766) AND `goodscommon`.`goods_state` = 1 AND `goodscommon`.`goods_verify` = 1 GROUP BY `goodscommon`.`goods_commonid` ORDER BY `goodscommon`.`mall_goods_commend` DESC,`goodscommon`.`mall_goods_sort` ASC LIMIT 10 [ RunTime:0.000375s ]
[ SQL ] SELECT * FROM `ds_goodsclass` WHERE ( gc_parent_id=766 ) ORDER BY `gc_sort` DESC LIMIT 5 [ RunTime:0.000153s ]
[ SQL ] SELECT * FROM `ds_goodsclass` WHERE ( gc_parent_id=767 ) [ RunTime:0.000114s ]
[ SQL ] SELECT `goods`.`goods_id`,`goodscommon`.`goods_marketprice`,`goodscommon`.`goods_name`,`goodscommon`.`goods_advword`,`goodscommon`.`goods_image`,`goodscommon`.`store_id`,`goods`.`goods_promotion_price`,`goodscommon`.`goods_price` FROM `ds_goodscommon` `goodscommon` INNER JOIN `ds_goods` `goods` ON `goods`.`goods_commonid`=`goodscommon`.`goods_commonid` WHERE `goodscommon`.`gc_id` IN (767) AND `goodscommon`.`goods_state` = 1 AND `goodscommon`.`goods_verify` = 1 GROUP BY `goodscommon`.`goods_commonid` ORDER BY `goodscommon`.`mall_goods_commend` DESC,`goodscommon`.`mall_goods_sort` ASC LIMIT 10 [ RunTime:0.000484s ]
[ SQL ] SELECT * FROM `ds_goodsclass` WHERE ( gc_parent_id=767 ) ORDER BY `gc_sort` DESC LIMIT 5 [ RunTime:0.000177s ]
[ SQL ] SHOW COLUMNS FROM `ds_order` [ RunTime:0.000428s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `ds_order` WHERE `buyer_id` = 1 AND `order_state` = 10 LIMIT 1 [ RunTime:0.000169s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `ds_order` WHERE `buyer_id` = 1 AND `order_state` = 30 LIMIT 1 [ RunTime:0.000105s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `ds_order` WHERE `buyer_id` = 1 AND `order_state` = 40 AND `evaluation_state` = 0 AND `refund_state` = 0 LIMIT 1 [ RunTime:0.000110s ]
0.044321s
基本文件流程错误SQL调试
请求信息 : 2026-01-21 05:49:00 HTTP/2.0 GET : kidsact.cn/
[ DB ] CONNECT:[ UseTime:0.000329s ] mysql:host=127.0.0.1;port=3306;dbname=sql367664;charset=utf8
[ SQL ] SHOW COLUMNS FROM `ds_goodscommon` [ RunTime:0.000564s ]
[ SQL ] SELECT `goods`.`goods_id`,`goodscommon`.`goods_name`,`goodscommon`.`goods_advword`,`goodscommon`.`goods_image`,`goodscommon`.`store_id`,`goods`.`goods_promotion_price`,`goodscommon`.`goods_price` FROM `ds_goodscommon` `goodscommon` INNER JOIN `ds_goods` `goods` ON `goods`.`goods_commonid`=`goodscommon`.`goods_commonid` WHERE `goodscommon`.`mall_goods_commend` = 1 AND `goodscommon`.`goods_state` = 1 AND `goodscommon`.`goods_verify` = 1 GROUP BY `goodscommon`.`goods_commonid` ORDER BY `goodscommon`.`mall_goods_sort` ASC LIMIT 5 [ RunTime:0.000366s ]
[ SQL ] SHOW COLUMNS FROM `ds_pxianshigoods` [ RunTime:0.000349s ]
[ SQL ] SELECT * FROM `ds_pxianshigoods` WHERE `xianshigoods_state` = 1 AND `xianshigoods_starttime` < 1768945740 AND `xianshigoods_end_time` > 1768945740 ORDER BY `xianshigoods_recommend` DESC LIMIT 5 [ RunTime:0.000204s ]
[ SQL ] SHOW COLUMNS FROM `ds_goods` [ RunTime:0.000386s ]
[ SQL ] SELECT * FROM `ds_goods` WHERE `goods_state` = 1 AND `goods_verify` = 1 GROUP BY `goods_commonid` ORDER BY `goods_addtime` DESC LIMIT 5 [ RunTime:0.002144s ]
[ SQL ] SHOW COLUMNS FROM `ds_groupbuy` [ RunTime:0.000437s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `ds_groupbuy` WHERE `groupbuy_state` = 20 AND `groupbuy_starttime` < 1768945740 AND `groupbuy_endtime` > 1768945740 LIMIT 1 [ RunTime:0.000172s ]
[ SQL ] SELECT * FROM `ds_groupbuy` WHERE `groupbuy_state` = 20 AND `groupbuy_starttime` < 1768945740 AND `groupbuy_endtime` > 1768945740 ORDER BY `groupbuy_recommended` DESC LIMIT 0,15 [ RunTime:0.000179s ]
[ SQL ] SHOW COLUMNS FROM `ds_link` [ RunTime:0.000336s ]
[ SQL ] SELECT * FROM `ds_link` ORDER BY `link_sort` ASC [ RunTime:0.000144s ]
[ SQL ] SHOW COLUMNS FROM `ds_article` [ RunTime:0.000247s ]
[ SQL ] SELECT `a`.`article_id`,`a`.`article_url`,`a`.`article_title` FROM `ds_article` `a` INNER JOIN `ds_articleclass` `ac` ON `a`.`ac_id`=`ac`.`ac_id` WHERE `ac`.`ac_code` = 'notice' AND `a`.`article_show` = 1 ORDER BY `a`.`article_sort` ASC,`a`.`article_time` DESC LIMIT 3 [ RunTime:0.000214s ]
[ SQL ] SHOW COLUMNS FROM `ds_goodsclass` [ RunTime:0.000309s ]
[ SQL ] SELECT * FROM `ds_goodsclass` WHERE `gc_parent_id` = 0 AND `gc_show` = 1 ORDER BY `gc_sort` ASC [ RunTime:0.000186s ]
[ SQL ] SELECT * FROM `ds_goodsclass` WHERE ( gc_parent_id=768 ) [ RunTime:0.000161s ]
[ SQL ] SELECT `goods`.`goods_id`,`goodscommon`.`goods_marketprice`,`goodscommon`.`goods_name`,`goodscommon`.`goods_advword`,`goodscommon`.`goods_image`,`goodscommon`.`store_id`,`goods`.`goods_promotion_price`,`goodscommon`.`goods_price` FROM `ds_goodscommon` `goodscommon` INNER JOIN `ds_goods` `goods` ON `goods`.`goods_commonid`=`goodscommon`.`goods_commonid` WHERE `goodscommon`.`gc_id` IN (768) AND `goodscommon`.`goods_state` = 1 AND `goodscommon`.`goods_verify` = 1 GROUP BY `goodscommon`.`goods_commonid` ORDER BY `goodscommon`.`mall_goods_commend` DESC,`goodscommon`.`mall_goods_sort` ASC LIMIT 10 [ RunTime:0.000334s ]
[ SQL ] SELECT * FROM `ds_goodsclass` WHERE ( gc_parent_id=768 ) ORDER BY `gc_sort` DESC LIMIT 5 [ RunTime:0.000174s ]
[ SQL ] SELECT * FROM `ds_goodsclass` WHERE ( gc_parent_id=769 ) [ RunTime:0.000197s ]
[ SQL ] SELECT `goods`.`goods_id`,`goodscommon`.`goods_marketprice`,`goodscommon`.`goods_name`,`goodscommon`.`goods_advword`,`goodscommon`.`goods_image`,`goodscommon`.`store_id`,`goods`.`goods_promotion_price`,`goodscommon`.`goods_price` FROM `ds_goodscommon` `goodscommon` INNER JOIN `ds_goods` `goods` ON `goods`.`goods_commonid`=`goodscommon`.`goods_commonid` WHERE `goodscommon`.`gc_id` IN (769) AND `goodscommon`.`goods_state` = 1 AND `goodscommon`.`goods_verify` = 1 GROUP BY `goodscommon`.`goods_commonid` ORDER BY `goodscommon`.`mall_goods_commend` DESC,`goodscommon`.`mall_goods_sort` ASC LIMIT 10 [ RunTime:0.000458s ]
[ SQL ] SELECT * FROM `ds_goodsclass` WHERE ( gc_parent_id=769 ) ORDER BY `gc_sort` DESC LIMIT 5 [ RunTime:0.000169s ]
[ SQL ] SELECT * FROM `ds_goodsclass` WHERE ( gc_parent_id=764 ) [ RunTime:0.000151s ]
[ SQL ] SELECT `goods`.`goods_id`,`goodscommon`.`goods_marketprice`,`goodscommon`.`goods_name`,`goodscommon`.`goods_advword`,`goodscommon`.`goods_image`,`goodscommon`.`store_id`,`goods`.`goods_promotion_price`,`goodscommon`.`goods_price` FROM `ds_goodscommon` `goodscommon` INNER JOIN `ds_goods` `goods` ON `goods`.`goods_commonid`=`goodscommon`.`goods_commonid` WHERE `goodscommon`.`gc_id` IN (764) AND `goodscommon`.`goods_state` = 1 AND `goodscommon`.`goods_verify` = 1 GROUP BY `goodscommon`.`goods_commonid` ORDER BY `goodscommon`.`mall_goods_commend` DESC,`goodscommon`.`mall_goods_sort` ASC LIMIT 10 [ RunTime:0.000469s ]
[ SQL ] SELECT * FROM `ds_goodsclass` WHERE ( gc_parent_id=764 ) ORDER BY `gc_sort` DESC LIMIT 5 [ RunTime:0.000168s ]
[ SQL ] SELECT * FROM `ds_goodsclass` WHERE ( gc_parent_id=765 ) [ RunTime:0.000162s ]
[ SQL ] SELECT `goods`.`goods_id`,`goodscommon`.`goods_marketprice`,`goodscommon`.`goods_name`,`goodscommon`.`goods_advword`,`goodscommon`.`goods_image`,`goodscommon`.`store_id`,`goods`.`goods_promotion_price`,`goodscommon`.`goods_price` FROM `ds_goodscommon` `goodscommon` INNER JOIN `ds_goods` `goods` ON `goods`.`goods_commonid`=`goodscommon`.`goods_commonid` WHERE `goodscommon`.`gc_id` IN (765) AND `goodscommon`.`goods_state` = 1 AND `goodscommon`.`goods_verify` = 1 GROUP BY `goodscommon`.`goods_commonid` ORDER BY `goodscommon`.`mall_goods_commend` DESC,`goodscommon`.`mall_goods_sort` ASC LIMIT 10 [ RunTime:0.000443s ]
[ SQL ] SELECT * FROM `ds_goodsclass` WHERE ( gc_parent_id=765 ) ORDER BY `gc_sort` DESC LIMIT 5 [ RunTime:0.000158s ]
[ SQL ] SELECT * FROM `ds_goodsclass` WHERE ( gc_parent_id=766 ) [ RunTime:0.000161s ]
[ SQL ] SELECT `goods`.`goods_id`,`goodscommon`.`goods_marketprice`,`goodscommon`.`goods_name`,`goodscommon`.`goods_advword`,`goodscommon`.`goods_image`,`goodscommon`.`store_id`,`goods`.`goods_promotion_price`,`goodscommon`.`goods_price` FROM `ds_goodscommon` `goodscommon` INNER JOIN `ds_goods` `goods` ON `goods`.`goods_commonid`=`goodscommon`.`goods_commonid` WHERE `goodscommon`.`gc_id` IN (766) AND `goodscommon`.`goods_state` = 1 AND `goodscommon`.`goods_verify` = 1 GROUP BY `goodscommon`.`goods_commonid` ORDER BY `goodscommon`.`mall_goods_commend` DESC,`goodscommon`.`mall_goods_sort` ASC LIMIT 10 [ RunTime:0.000432s ]
[ SQL ] SELECT * FROM `ds_goodsclass` WHERE ( gc_parent_id=766 ) ORDER BY `gc_sort` DESC LIMIT 5 [ RunTime:0.000151s ]
[ SQL ] SELECT * FROM `ds_goodsclass` WHERE ( gc_parent_id=767 ) [ RunTime:0.000194s ]
[ SQL ] SELECT `goods`.`goods_id`,`goodscommon`.`goods_marketprice`,`goodscommon`.`goods_name`,`goodscommon`.`goods_advword`,`goodscommon`.`goods_image`,`goodscommon`.`store_id`,`goods`.`goods_promotion_price`,`goodscommon`.`goods_price` FROM `ds_goodscommon` `goodscommon` INNER JOIN `ds_goods` `goods` ON `goods`.`goods_commonid`=`goodscommon`.`goods_commonid` WHERE `goodscommon`.`gc_id` IN (767) AND `goodscommon`.`goods_state` = 1 AND `goodscommon`.`goods_verify` = 1 GROUP BY `goodscommon`.`goods_commonid` ORDER BY `goodscommon`.`mall_goods_commend` DESC,`goodscommon`.`mall_goods_sort` ASC LIMIT 10 [ RunTime:0.000474s ]
[ SQL ] SELECT * FROM `ds_goodsclass` WHERE ( gc_parent_id=767 ) ORDER BY `gc_sort` DESC LIMIT 5 [ RunTime:0.000148s ]
[ SQL ] SHOW COLUMNS FROM `ds_advposition` [ RunTime:0.000343s ]
[ SQL ] SELECT `ap_id`,`ap_name`,`ap_width`,`ap_height` FROM `ds_advposition` [ RunTime:0.000122s ]
[ SQL ] SHOW COLUMNS FROM `ds_adv` [ RunTime:0.000304s ]
[ SQL ] SELECT * FROM `ds_adv` WHERE ( ap_id=21 and adv_enabled = 1 and adv_startdate < 1738134000 and adv_enddate > 1738134000 ) ORDER BY `adv_sort` DESC LIMIT 1 [ RunTime:0.000186s ]