[8]Use of undefined constant cat_name - assumed 'cat_name'[/www/wwwroot/b2bdemo.tpsns.com/runtime/temp/b963886e08bc80223a6b7633c915abb3.php:1070]
[8]Use of undefined constant link - assumed 'link'[/www/wwwroot/b2bdemo.tpsns.com/runtime/temp/b963886e08bc80223a6b7633c915abb3.php:1074]
[8]Use of undefined constant article_id - assumed 'article_id'[/www/wwwroot/b2bdemo.tpsns.com/runtime/temp/b963886e08bc80223a6b7633c915abb3.php:1077]
[8]Use of undefined constant title - assumed 'title'[/www/wwwroot/b2bdemo.tpsns.com/runtime/temp/b963886e08bc80223a6b7633c915abb3.php:1077]
[8]Use of undefined constant cat_name - assumed 'cat_name'[/www/wwwroot/b2bdemo.tpsns.com/runtime/temp/b963886e08bc80223a6b7633c915abb3.php:1070]
[8]Use of undefined constant link - assumed 'link'[/www/wwwroot/b2bdemo.tpsns.com/runtime/temp/b963886e08bc80223a6b7633c915abb3.php:1074]
[8]Use of undefined constant article_id - assumed 'article_id'[/www/wwwroot/b2bdemo.tpsns.com/runtime/temp/b963886e08bc80223a6b7633c915abb3.php:1077]
[8]Use of undefined constant title - assumed 'title'[/www/wwwroot/b2bdemo.tpsns.com/runtime/temp/b963886e08bc80223a6b7633c915abb3.php:1077]
[8]Use of undefined constant link - assumed 'link'[/www/wwwroot/b2bdemo.tpsns.com/runtime/temp/b963886e08bc80223a6b7633c915abb3.php:1074]
[8]Use of undefined constant article_id - assumed 'article_id'[/www/wwwroot/b2bdemo.tpsns.com/runtime/temp/b963886e08bc80223a6b7633c915abb3.php:1077]
[8]Use of undefined constant title - assumed 'title'[/www/wwwroot/b2bdemo.tpsns.com/runtime/temp/b963886e08bc80223a6b7633c915abb3.php:1077]
[8]Use of undefined constant link - assumed 'link'[/www/wwwroot/b2bdemo.tpsns.com/runtime/temp/b963886e08bc80223a6b7633c915abb3.php:1074]
[8]Use of undefined constant article_id - assumed 'article_id'[/www/wwwroot/b2bdemo.tpsns.com/runtime/temp/b963886e08bc80223a6b7633c915abb3.php:1077]
[8]Use of undefined constant title - assumed 'title'[/www/wwwroot/b2bdemo.tpsns.com/runtime/temp/b963886e08bc80223a6b7633c915abb3.php:1077]
[8]Use of undefined constant link - assumed 'link'[/www/wwwroot/b2bdemo.tpsns.com/runtime/temp/b963886e08bc80223a6b7633c915abb3.php:1074]
[8]Use of undefined constant article_id - assumed 'article_id'[/www/wwwroot/b2bdemo.tpsns.com/runtime/temp/b963886e08bc80223a6b7633c915abb3.php:1077]
[8]Use of undefined constant title - assumed 'title'[/www/wwwroot/b2bdemo.tpsns.com/runtime/temp/b963886e08bc80223a6b7633c915abb3.php:1077]
[8]Use of undefined constant link - assumed 'link'[/www/wwwroot/b2bdemo.tpsns.com/runtime/temp/b963886e08bc80223a6b7633c915abb3.php:1074]
[8]Use of undefined constant article_id - assumed 'article_id'[/www/wwwroot/b2bdemo.tpsns.com/runtime/temp/b963886e08bc80223a6b7633c915abb3.php:1077]
[8]Use of undefined constant title - assumed 'title'[/www/wwwroot/b2bdemo.tpsns.com/runtime/temp/b963886e08bc80223a6b7633c915abb3.php:1077]
[8]Use of undefined constant cat_name - assumed 'cat_name'[/www/wwwroot/b2bdemo.tpsns.com/runtime/temp/b963886e08bc80223a6b7633c915abb3.php:1070]
[8]Use of undefined constant link - assumed 'link'[/www/wwwroot/b2bdemo.tpsns.com/runtime/temp/b963886e08bc80223a6b7633c915abb3.php:1074]
[8]Use of undefined constant article_id - assumed 'article_id'[/www/wwwroot/b2bdemo.tpsns.com/runtime/temp/b963886e08bc80223a6b7633c915abb3.php:1077]
[8]Use of undefined constant title - assumed 'title'[/www/wwwroot/b2bdemo.tpsns.com/runtime/temp/b963886e08bc80223a6b7633c915abb3.php:1077]
[8]Use of undefined constant cat_name - assumed 'cat_name'[/www/wwwroot/b2bdemo.tpsns.com/runtime/temp/b963886e08bc80223a6b7633c915abb3.php:1070]
[8]Use of undefined constant link - assumed 'link'[/www/wwwroot/b2bdemo.tpsns.com/runtime/temp/b963886e08bc80223a6b7633c915abb3.php:1074]
[8]Use of undefined constant article_id - assumed 'article_id'[/www/wwwroot/b2bdemo.tpsns.com/runtime/temp/b963886e08bc80223a6b7633c915abb3.php:1077]
[8]Use of undefined constant title - assumed 'title'[/www/wwwroot/b2bdemo.tpsns.com/runtime/temp/b963886e08bc80223a6b7633c915abb3.php:1077]
[8]Use of undefined constant link - assumed 'link'[/www/wwwroot/b2bdemo.tpsns.com/runtime/temp/b963886e08bc80223a6b7633c915abb3.php:1074]
[8]Use of undefined constant article_id - assumed 'article_id'[/www/wwwroot/b2bdemo.tpsns.com/runtime/temp/b963886e08bc80223a6b7633c915abb3.php:1077]
[8]Use of undefined constant title - assumed 'title'[/www/wwwroot/b2bdemo.tpsns.com/runtime/temp/b963886e08bc80223a6b7633c915abb3.php:1077]
[8]Use of undefined constant link - assumed 'link'[/www/wwwroot/b2bdemo.tpsns.com/runtime/temp/b963886e08bc80223a6b7633c915abb3.php:1074]
[8]Use of undefined constant article_id - assumed 'article_id'[/www/wwwroot/b2bdemo.tpsns.com/runtime/temp/b963886e08bc80223a6b7633c915abb3.php:1077]
[8]Use of undefined constant title - assumed 'title'[/www/wwwroot/b2bdemo.tpsns.com/runtime/temp/b963886e08bc80223a6b7633c915abb3.php:1077]
[8]Use of undefined constant cat_name - assumed 'cat_name'[/www/wwwroot/b2bdemo.tpsns.com/runtime/temp/b963886e08bc80223a6b7633c915abb3.php:1070]
[8]Use of undefined constant link - assumed 'link'[/www/wwwroot/b2bdemo.tpsns.com/runtime/temp/b963886e08bc80223a6b7633c915abb3.php:1074]
[8]Use of undefined constant article_id - assumed 'article_id'[/www/wwwroot/b2bdemo.tpsns.com/runtime/temp/b963886e08bc80223a6b7633c915abb3.php:1077]
[8]Use of undefined constant title - assumed 'title'[/www/wwwroot/b2bdemo.tpsns.com/runtime/temp/b963886e08bc80223a6b7633c915abb3.php:1077]
[8]Use of undefined constant link - assumed 'link'[/www/wwwroot/b2bdemo.tpsns.com/runtime/temp/b963886e08bc80223a6b7633c915abb3.php:1074]
[8]Use of undefined constant article_id - assumed 'article_id'[/www/wwwroot/b2bdemo.tpsns.com/runtime/temp/b963886e08bc80223a6b7633c915abb3.php:1077]
[8]Use of undefined constant title - assumed 'title'[/www/wwwroot/b2bdemo.tpsns.com/runtime/temp/b963886e08bc80223a6b7633c915abb3.php:1077]
[8]Use of undefined constant link - assumed 'link'[/www/wwwroot/b2bdemo.tpsns.com/runtime/temp/b963886e08bc80223a6b7633c915abb3.php:1074]
[8]Use of undefined constant article_id - assumed 'article_id'[/www/wwwroot/b2bdemo.tpsns.com/runtime/temp/b963886e08bc80223a6b7633c915abb3.php:1077]
[8]Use of undefined constant title - assumed 'title'[/www/wwwroot/b2bdemo.tpsns.com/runtime/temp/b963886e08bc80223a6b7633c915abb3.php:1077]
[8]Use of undefined constant url - assumed 'url'[/www/wwwroot/b2bdemo.tpsns.com/runtime/temp/b963886e08bc80223a6b7633c915abb3.php:1120]
[8]Use of undefined constant is_new - assumed 'is_new'[/www/wwwroot/b2bdemo.tpsns.com/runtime/temp/b963886e08bc80223a6b7633c915abb3.php:1120]
[8]Use of undefined constant name - assumed 'name'[/www/wwwroot/b2bdemo.tpsns.com/runtime/temp/b963886e08bc80223a6b7633c915abb3.php:1120]
[8]Use of undefined constant url - assumed 'url'[/www/wwwroot/b2bdemo.tpsns.com/runtime/temp/b963886e08bc80223a6b7633c915abb3.php:1120]
[8]Use of undefined constant is_new - assumed 'is_new'[/www/wwwroot/b2bdemo.tpsns.com/runtime/temp/b963886e08bc80223a6b7633c915abb3.php:1120]
[8]Use of undefined constant name - assumed 'name'[/www/wwwroot/b2bdemo.tpsns.com/runtime/temp/b963886e08bc80223a6b7633c915abb3.php:1120]
[8]Use of undefined constant url - assumed 'url'[/www/wwwroot/b2bdemo.tpsns.com/runtime/temp/b963886e08bc80223a6b7633c915abb3.php:1120]
[8]Use of undefined constant is_new - assumed 'is_new'[/www/wwwroot/b2bdemo.tpsns.com/runtime/temp/b963886e08bc80223a6b7633c915abb3.php:1120]
[8]Use of undefined constant name - assumed 'name'[/www/wwwroot/b2bdemo.tpsns.com/runtime/temp/b963886e08bc80223a6b7633c915abb3.php:1120]
[ DB ] CONNECT:[ UseTime:0.000944s ] mysql:host=127.0.0.1;port=3306;dbname=b2b;charset=utf8
[ SQL ] SHOW COLUMNS FROM `tp_article` [ RunTime:0.003458s ]
[ SQL ] SELECT * FROM `tp_article` WHERE `is_open` = 1 AND `cat_id` = 40 LIMIT 5 [ RunTime:0.002615s ]
[ SQL ] SELECT * FROM `tp_article` WHERE `is_open` = 1 AND `cat_id` = 43 LIMIT 5 [ RunTime:0.012692s ]
[ SQL ] SELECT * FROM `tp_article` WHERE `is_open` = 1 AND `cat_id` = 44 LIMIT 5 [ RunTime:0.011080s ]
[ SQL ] SELECT * FROM `tp_article` WHERE `is_open` = 1 AND `cat_id` = 3 LIMIT 5 [ RunTime:0.009207s ]
[ SQL ] SELECT * FROM `tp_article` WHERE `is_open` = 1 AND `cat_id` = 4 LIMIT 5 [ RunTime:0.008834s ]
[ SQL ] SHOW COLUMNS FROM `tp_search_word` [ RunTime:0.010902s ]
[ SQL ] SELECT * FROM `tp_search_word` WHERE `ip` = '18.217.178.138' [ RunTime:0.006327s ]
[ SQL ] SELECT * FROM `tp_search_word` WHERE `ip` = '18.217.178.138' ORDER BY search_num desc LIMIT 0,5 [ RunTime:0.005927s ]
[ SQL ] SHOW COLUMNS FROM `tp_brand` [ RunTime:0.009449s ]
[ SQL ] SELECT `id` FROM `tp_brand` WHERE `name` = '' [ RunTime:0.010754s ]
[ SQL ] SHOW COLUMNS FROM `tp_spec_goods_price` [ RunTime:0.008051s ]
[ SQL ] SELECT `goods_id` FROM `tp_spec_goods_price` WHERE `key_name` LIKE '%:' [ RunTime:0.014268s ]
[ SQL ] UPDATE `tp_search_word` SET `search_num`=`search_num`+1 WHERE `keywords` = '' [ RunTime:0.053214s ]
[ SQL ] SHOW COLUMNS FROM `tp_goods` [ RunTime:0.004144s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `tp_goods` WHERE `goods_sn` = '' OR `goods_id` IN (311024,311025,311047,311127,311132,311134,311154,311160,311193,311199,311219,311237,311238) OR ( (`goods_name` LIKE '%%') OR (`keywords` LIKE '%%') ) AND `is_on_sale` = 1 AND `goods_state` = 1 LIMIT 1 [ RunTime:0.008784s ]
[ SQL ] SELECT * FROM `tp_search_word` WHERE `keywords` = '' AND `ip` = '18.217.178.138' LIMIT 1 [ RunTime:0.006551s ]
[ SQL ] SHOW COLUMNS FROM `tp_goods_category` [ RunTime:0.004189s ]
[ SQL ] SELECT * FROM `tp_goods_category` WHERE `id` IN (88,536,1619,1374,874,1315,1647,1650,1284,1546,1636,1651,1511,901,1654,1288,1646,1285,538) [ RunTime:0.005109s ]
[ SQL ] SELECT `goods_id` FROM `tp_goods` WHERE ( is_on_sale = 1 ) AND `brand_id` IN (422) [ RunTime:0.005723s ]
[ SQL ] SELECT `goods_id` FROM `tp_goods` WHERE ( shop_price >= 20 and shop_price <= 25 and is_on_sale = 1 ) [ RunTime:0.004300s ]
[ SQL ] SELECT `goods_id` FROM `tp_goods` WHERE `is_on_sale` = 1 AND `prom_id` > 0 [ RunTime:0.003854s ]
[ SQL ] SELECT `id`,`name` FROM `tp_brand` [ RunTime:0.002840s ]
[ SQL ] select * from tp_goods g inner join tp_flash_sale as f on g.goods_id = f.goods_id where start_time < 1745969145 and end_time > 1745969145 and status = 1 and cat_id1 = 533 limit 2 [ RunTime:0.007425s ]
[ SQL ] select * from tp_goods g inner join tp_flash_sale as f on g.goods_id = f.goods_id where start_time < 1745969145 and end_time > 1745969145 and status = 1 and cat_id1 = 541 limit 2 [ RunTime:0.007672s ]
[ SQL ] select * from tp_goods g inner join tp_flash_sale as f on g.goods_id = f.goods_id where start_time < 1745969145 and end_time > 1745969145 and status = 1 and cat_id1 = 543 limit 2 [ RunTime:0.007197s ]
[ SQL ] select * from tp_goods g inner join tp_flash_sale as f on g.goods_id = f.goods_id where start_time < 1745969145 and end_time > 1745969145 and status = 1 and cat_id1 = 572 limit 2 [ RunTime:0.006015s ]
[ SQL ] select * from tp_goods g inner join tp_flash_sale as f on g.goods_id = f.goods_id where start_time < 1745969145 and end_time > 1745969145 and status = 1 and cat_id1 = 549 limit 2 [ RunTime:0.012142s ]
[ SQL ] select * from tp_goods g inner join tp_flash_sale as f on g.goods_id = f.goods_id where start_time < 1745969145 and end_time > 1745969145 and status = 1 and cat_id1 = 550 limit 2 [ RunTime:0.006452s ]
[ SQL ] select * from tp_goods g inner join tp_flash_sale as f on g.goods_id = f.goods_id where start_time < 1745969145 and end_time > 1745969145 and status = 1 and cat_id1 = 551 limit 2 [ RunTime:0.007538s ]
[ SQL ] select * from tp_goods g inner join tp_flash_sale as f on g.goods_id = f.goods_id where start_time < 1745969145 and end_time > 1745969145 and status = 1 and cat_id1 = 552 limit 2 [ RunTime:0.006521s ]
[ SQL ] select * from tp_goods g inner join tp_flash_sale as f on g.goods_id = f.goods_id where start_time < 1745969145 and end_time > 1745969145 and status = 1 and cat_id1 = 553 limit 2 [ RunTime:0.008076s ]
[ SQL ] select * from tp_goods g inner join tp_flash_sale as f on g.goods_id = f.goods_id where start_time < 1745969145 and end_time > 1745969145 and status = 1 and cat_id1 = 1639 limit 2 [ RunTime:0.007374s ]
[ SQL ] select * from tp_goods g inner join tp_flash_sale as f on g.goods_id = f.goods_id where start_time < 1745969145 and end_time > 1745969145 and status = 1 and cat_id1 = 1642 limit 2 [ RunTime:0.007258s ]
[ SQL ] select * from tp_goods g inner join tp_flash_sale as f on g.goods_id = f.goods_id where start_time < 1745969145 and end_time > 1745969145 and status = 1 and cat_id1 = 1644 limit 2 [ RunTime:0.006096s ]
[ SQL ] select g.*,s.store_name from `tp_goods` as g left join `tp_store` as s on s.store_id = g.store_id where g.is_hot = 1 and g.is_on_sale = 1 and g.goods_state = 1 and g.goods_id IN (311195) order by g.sort DESC limit 5 [ RunTime:0.008854s ]
[ SQL ] select g.*,s.store_name from `tp_goods` as g left join `tp_store` as s on s.store_id = g.store_id where
g.is_on_sale = 1 and g.goods_state = 1 and g.goods_id IN (311195) order by g.sales_sum desc limit 5 [ RunTime:0.007796s ]