[8]Use of undefined constant store_id - assumed 'store_id'[/home/web/bbc/runtime/temp/906dd4facb4373056ccf78cc0aa62ce3.php:987]
[8]Use of undefined constant store_id - assumed 'store_id'[/home/web/bbc/runtime/temp/906dd4facb4373056ccf78cc0aa62ce3.php:988]
[8]Use of undefined constant goods_id - assumed 'goods_id'[/home/web/bbc/runtime/temp/906dd4facb4373056ccf78cc0aa62ce3.php:995]
[8]Use of undefined constant goods_id - assumed 'goods_id'[/home/web/bbc/runtime/temp/906dd4facb4373056ccf78cc0aa62ce3.php:996]
[8]Use of undefined constant goods_id - assumed 'goods_id'[/home/web/bbc/runtime/temp/906dd4facb4373056ccf78cc0aa62ce3.php:995]
[8]Use of undefined constant goods_id - assumed 'goods_id'[/home/web/bbc/runtime/temp/906dd4facb4373056ccf78cc0aa62ce3.php:996]
[8]Use of undefined constant goods_id - assumed 'goods_id'[/home/web/bbc/runtime/temp/906dd4facb4373056ccf78cc0aa62ce3.php:995]
[8]Use of undefined constant goods_id - assumed 'goods_id'[/home/web/bbc/runtime/temp/906dd4facb4373056ccf78cc0aa62ce3.php:996]
[8]Use of undefined constant goods_id - assumed 'goods_id'[/home/web/bbc/runtime/temp/906dd4facb4373056ccf78cc0aa62ce3.php:995]
[8]Use of undefined constant goods_id - assumed 'goods_id'[/home/web/bbc/runtime/temp/906dd4facb4373056ccf78cc0aa62ce3.php:996]
[8]Use of undefined constant goods_id - assumed 'goods_id'[/home/web/bbc/runtime/temp/906dd4facb4373056ccf78cc0aa62ce3.php:1011]
[8]Use of undefined constant goods_id - assumed 'goods_id'[/home/web/bbc/runtime/temp/906dd4facb4373056ccf78cc0aa62ce3.php:1012]
[8]Use of undefined constant goods_id - assumed 'goods_id'[/home/web/bbc/runtime/temp/906dd4facb4373056ccf78cc0aa62ce3.php:1011]
[8]Use of undefined constant goods_id - assumed 'goods_id'[/home/web/bbc/runtime/temp/906dd4facb4373056ccf78cc0aa62ce3.php:1012]
[8]Use of undefined constant goods_id - assumed 'goods_id'[/home/web/bbc/runtime/temp/906dd4facb4373056ccf78cc0aa62ce3.php:1011]
[8]Use of undefined constant goods_id - assumed 'goods_id'[/home/web/bbc/runtime/temp/906dd4facb4373056ccf78cc0aa62ce3.php:1012]
[8]Use of undefined constant goods_id - assumed 'goods_id'[/home/web/bbc/runtime/temp/906dd4facb4373056ccf78cc0aa62ce3.php:1011]
[8]Use of undefined constant goods_id - assumed 'goods_id'[/home/web/bbc/runtime/temp/906dd4facb4373056ccf78cc0aa62ce3.php:1012]
[8]Use of undefined constant store_id - assumed 'store_id'[/home/web/bbc/runtime/temp/906dd4facb4373056ccf78cc0aa62ce3.php:1022]
[8]Use of undefined constant cat_name - assumed 'cat_name'[/home/web/bbc/runtime/temp/906dd4facb4373056ccf78cc0aa62ce3.php:1124]
[8]Use of undefined constant cat_name - assumed 'cat_name'[/home/web/bbc/runtime/temp/906dd4facb4373056ccf78cc0aa62ce3.php:1124]
[8]Use of undefined constant article_id - assumed 'article_id'[/home/web/bbc/runtime/temp/906dd4facb4373056ccf78cc0aa62ce3.php:1137]
[8]Use of undefined constant title - assumed 'title'[/home/web/bbc/runtime/temp/906dd4facb4373056ccf78cc0aa62ce3.php:1137]
[8]Use of undefined constant cat_name - assumed 'cat_name'[/home/web/bbc/runtime/temp/906dd4facb4373056ccf78cc0aa62ce3.php:1124]
[8]Use of undefined constant article_id - assumed 'article_id'[/home/web/bbc/runtime/temp/906dd4facb4373056ccf78cc0aa62ce3.php:1137]
[8]Use of undefined constant title - assumed 'title'[/home/web/bbc/runtime/temp/906dd4facb4373056ccf78cc0aa62ce3.php:1137]
[8]Use of undefined constant cat_name - assumed 'cat_name'[/home/web/bbc/runtime/temp/906dd4facb4373056ccf78cc0aa62ce3.php:1124]
[8]Use of undefined constant article_id - assumed 'article_id'[/home/web/bbc/runtime/temp/906dd4facb4373056ccf78cc0aa62ce3.php:1137]
[8]Use of undefined constant title - assumed 'title'[/home/web/bbc/runtime/temp/906dd4facb4373056ccf78cc0aa62ce3.php:1137]
[8]Use of undefined constant cat_name - assumed 'cat_name'[/home/web/bbc/runtime/temp/906dd4facb4373056ccf78cc0aa62ce3.php:1124]
[8]Use of undefined constant article_id - assumed 'article_id'[/home/web/bbc/runtime/temp/906dd4facb4373056ccf78cc0aa62ce3.php:1137]
[8]Use of undefined constant title - assumed 'title'[/home/web/bbc/runtime/temp/906dd4facb4373056ccf78cc0aa62ce3.php:1137]
[8]Use of undefined constant link_url - assumed 'link_url'[/home/web/bbc/runtime/temp/906dd4facb4373056ccf78cc0aa62ce3.php:1156]
[8]Use of undefined constant link_name - assumed 'link_name'[/home/web/bbc/runtime/temp/906dd4facb4373056ccf78cc0aa62ce3.php:1156]
[8]Use of undefined constant link_url - assumed 'link_url'[/home/web/bbc/runtime/temp/906dd4facb4373056ccf78cc0aa62ce3.php:1156]
[8]Use of undefined constant link_name - assumed 'link_name'[/home/web/bbc/runtime/temp/906dd4facb4373056ccf78cc0aa62ce3.php:1156]
[8]Use of undefined constant link_url - assumed 'link_url'[/home/web/bbc/runtime/temp/906dd4facb4373056ccf78cc0aa62ce3.php:1156]
[8]Use of undefined constant link_name - assumed 'link_name'[/home/web/bbc/runtime/temp/906dd4facb4373056ccf78cc0aa62ce3.php:1156]
[8]Use of undefined constant link_url - assumed 'link_url'[/home/web/bbc/runtime/temp/906dd4facb4373056ccf78cc0aa62ce3.php:1156]
[8]Use of undefined constant link_name - assumed 'link_name'[/home/web/bbc/runtime/temp/906dd4facb4373056ccf78cc0aa62ce3.php:1156]
[8]Use of undefined constant link_url - assumed 'link_url'[/home/web/bbc/runtime/temp/906dd4facb4373056ccf78cc0aa62ce3.php:1156]
[8]Use of undefined constant link_name - assumed 'link_name'[/home/web/bbc/runtime/temp/906dd4facb4373056ccf78cc0aa62ce3.php:1156]
[8]Use of undefined constant url - assumed 'url'[/home/web/bbc/runtime/temp/906dd4facb4373056ccf78cc0aa62ce3.php:1195]
[8]Use of undefined constant is_new - assumed 'is_new'[/home/web/bbc/runtime/temp/906dd4facb4373056ccf78cc0aa62ce3.php:1195]
[8]Use of undefined constant name - assumed 'name'[/home/web/bbc/runtime/temp/906dd4facb4373056ccf78cc0aa62ce3.php:1195]
[8]Use of undefined constant url - assumed 'url'[/home/web/bbc/runtime/temp/906dd4facb4373056ccf78cc0aa62ce3.php:1195]
[8]Use of undefined constant is_new - assumed 'is_new'[/home/web/bbc/runtime/temp/906dd4facb4373056ccf78cc0aa62ce3.php:1195]
[8]Use of undefined constant name - assumed 'name'[/home/web/bbc/runtime/temp/906dd4facb4373056ccf78cc0aa62ce3.php:1195]
[ DB ] CONNECT:[ UseTime:0.000340s ] mysql:host=127.0.0.1;port=3306;dbname=tpshopbbc;charset=utf8
[ SQL ] SHOW COLUMNS FROM `tp_config` [ RunTime:0.000519s ]
[ SQL ] SELECT * FROM `tp_config` [ RunTime:0.000332s ]
[ SQL ] SHOW COLUMNS FROM `tp_goods_category` [ RunTime:0.000384s ]
[ SQL ] SELECT * FROM `tp_goods_category` WHERE `is_show` = 1 ORDER BY sort_order desc [ RunTime:0.000545s ]
[ SQL ] SHOW COLUMNS FROM `tp_brand` [ RunTime:0.000405s ]
[ SQL ] SELECT `id`,`cat_id1`,`logo`,`is_hot` FROM `tp_brand` WHERE ( cat_id1>0 ) [ RunTime:0.000261s ]
[ SQL ] SELECT * FROM `tp_config` WHERE `inc_type` = 'shop_info' [ RunTime:0.000306s ]
[ SQL ] SHOW COLUMNS FROM `tp_seo` [ RunTime:0.000417s ]
[ SQL ] SELECT `type`,`title`,`keywords`,`description` FROM `tp_seo` [ RunTime:0.000166s ]
[ SQL ] SELECT * FROM `tp_config` WHERE `inc_type` = 'subdomain' [ RunTime:0.000227s ]
[ SQL ] SHOW COLUMNS FROM `tp_store` [ RunTime:0.000689s ]
[ SQL ] SELECT * FROM `tp_store` WHERE `store_id` = 49 LIMIT 1 [ RunTime:0.000475s ]
[ SQL ] SHOW COLUMNS FROM `tp_region` [ RunTime:0.000321s ]
[ SQL ] SELECT * FROM `tp_region` WHERE `id` IN (28240,28558,28604) ORDER BY level desc [ RunTime:0.000225s ]
[ SQL ] SELECT * FROM `tp_region` WHERE `id` IN (28240,28558,28604) ORDER BY level desc [ RunTime:0.000200s ]
[ SQL ] SELECT avg(store_desccredit) as store_desccredit_avg,avg(store_servicecredit) as store_servicecredit_avg,avg(store_deliverycredit) as store_deliverycredit_avg FROM `tp_store` WHERE `sc_id` = 6 AND `deleted` = 0 LIMIT 1 [ RunTime:0.000245s ]
[ SQL ] SHOW COLUMNS FROM `tp_store_navigation` [ RunTime:0.000398s ]
[ SQL ] SELECT `sn_id`,`sn_title`,`sn_store_id`,`sn_sort`,`sn_is_show`,`sn_add_time`,`sn_url`,`sn_new_open` FROM `tp_store_navigation` WHERE `sn_store_id` = 49 AND `sn_is_show` = 1 [ RunTime:0.000306s ]
[ SQL ] SHOW COLUMNS FROM `tp_store_goods_class` [ RunTime:0.000305s ]
[ SQL ] SELECT * FROM `tp_store_goods_class` WHERE `store_id` = 49 AND `is_nav_show` = 1 ORDER BY cat_sort desc [ RunTime:0.000217s ]
[ SQL ] SELECT * FROM `tp_store_goods_class` WHERE `store_id` = 49 AND `is_show` = 1 [ RunTime:0.000199s ]
[ SQL ] SHOW COLUMNS FROM `tp_goods` [ RunTime:0.000460s ]
[ SQL ] SELECT `goods_id`,`cat_id1`,`cat_id2`,`cat_id3`,`store_cat_id1`,`store_cat_id2`,`goods_sn`,`goods_name`,`click_count`,`brand_id`,`store_count`,`collect_sum`,`comment_count`,`weight`,`volume`,`market_price`,`shop_price`,`cost_price`,`exchange_integral`,`keywords`,`goods_remark`,`mobile_content`,`original_img`,`is_virtual`,`virtual_indate`,`virtual_limit`,`virtual_refund`,`is_on_sale`,`is_free_shipping`,`on_time`,`sort`,`is_recommend`,`is_new`,`is_hot`,`last_update`,`goods_type`,`give_integral`,`sales_sum`,`virtual_sales_sum`,`prom_type`,`prom_id`,`distribut`,`store_id`,`spu`,`sku`,`goods_state`,`close_reason`,`suppliers_id`,`template_id`,`is_own_shop`,`video`,`label_id`,`plate_top`,`plate_bottom`,`root_goods_id`,`is_supply`,`supplier_goods_status`,`is_sub_shipping`,`is_sale_self`,`is_vote`,`store_sort`,`is_whole_shipping` FROM `tp_goods` WHERE `store_id` = 49 AND `is_on_sale` = 1 ORDER BY sales_sum desc LIMIT 10 [ RunTime:0.000414s ]
[ SQL ] SELECT * FROM `tp_goods` WHERE `store_id` = 49 AND `is_on_sale` = 1 ORDER BY collect_sum desc LIMIT 10 [ RunTime:0.000369s ]
[ SQL ] SHOW COLUMNS FROM `tp_store_bind_platform_goods` [ RunTime:0.000301s ]
[ SQL ] SELECT * FROM `tp_store_bind_platform_goods` `sp` INNER JOIN `tp_goods` `g` ON `g`.`goods_id`=`sp`.`goods_id` WHERE `sp`.`store_id` = 49 AND `g`.`is_on_sale` = 1 AND `is_new` = 1 ORDER BY sp.id desc LIMIT 5 [ RunTime:0.000297s ]
[ SQL ] SELECT * FROM `tp_goods` WHERE `store_id` = 49 AND `is_on_sale` = 1 AND `is_new` = 1 ORDER BY goods_id desc LIMIT 10 [ RunTime:0.000345s ]
[ SQL ] SELECT * FROM `tp_store_bind_platform_goods` `sp` INNER JOIN `tp_goods` `g` ON `g`.`goods_id`=`sp`.`goods_id` WHERE `sp`.`store_id` = 49 AND `g`.`is_on_sale` = 1 AND `g`.`is_recommend` = 1 ORDER BY sp.id desc LIMIT 5 [ RunTime:0.000287s ]
[ SQL ] SELECT * FROM `tp_goods` WHERE `store_id` = 49 AND `is_on_sale` = 1 AND `is_recommend` = 1 ORDER BY goods_id desc LIMIT 10 [ RunTime:0.000540s ]
[ SQL ] SHOW COLUMNS FROM `tp_goods_images` [ RunTime:0.000342s ]
[ SQL ] SELECT * FROM `tp_goods_images` WHERE ( goods_id in (252,251,245,244,252,251,245,244) ) [ RunTime:0.000249s ]
[ SQL ] select * from `tp_article_cat` where cat_type = 1 order by cat_id asc limit 5 [ RunTime:0.000238s ]
[ SQL ] select * from `tp_article` where cat_id = 1 and is_open=1 limit 5 [ RunTime:0.000252s ]
[ SQL ] select * from `tp_article` where cat_id = 3 and is_open=1 limit 5 [ RunTime:0.000215s ]
[ SQL ] select * from `tp_article` where cat_id = 4 and is_open=1 limit 5 [ RunTime:0.000213s ]
[ SQL ] select * from `tp_article` where cat_id = 11 and is_open=1 limit 5 [ RunTime:0.000210s ]
[ SQL ] select * from `tp_article` where cat_id = 12 and is_open=1 limit 5 [ RunTime:0.000210s ]
[ SQL ] select * from `tp_friend_link` where is_show=1 [ RunTime:0.000175s ]
[ SQL ] SELECT * FROM `tp_navigation` where is_show = 1 AND position = 2 ORDER BY `sort` DESC [ RunTime:0.000192s ]