Ticket #60 (new task: null)
数据接口-brand_hot_news.jsp
| Reported by: | chenyinle | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | 网友前台 | Version: | 6.0 |
| Keywords: | 接口整理 | Cc: | |
| Due Date: | 19/12/2011 |
Description (last modified by huangzhong) (diff)
参数及默认值
areaId:报价地区ID,默认为0
brandId:产品品牌ID,默认为0
productId:产品ID,默认为0
max:返回的最大数据量,默认为16
fixedIds:根据商家ID插入其关联的一条商情,默认为空
fixedNids:根据商情ID插入一条商情,默认为空
style:不同的样式显示,默认为1
ccf:是否刷新当前的areaId的cookie,默认为空(不刷)
time:浏览器的页面缓存时间,默认3600秒
描述
读取产品所属品牌的商情,支持广告商情的插入
用途及具体的传参
引用的地方:
1、
http://dg.pconline.com.cn/

2. http://product.pconline.com.cn/notebook/lenovo/467274_price.html

3. http://product.pconline.com.cn/mobile/nokia/436133_detail.html

来自monitor的监控信息:
15071,192.168.239.158/192.168.238.44,productId=48384&style=2&fixed,
14413,192.168.239.20/192.168.238.44,brandId=92019&max=5&style=4&ccf=true&time=7200,
缓存方式及时间
mc缓存3小时,浏览器缓存默认1小时
逻辑
根据产品类型、商家等级等信息查询有效商情,支持广告商情插入,每个商家只限出一条商情
涉及到的表
ent_news、ent_company
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/global/2008/images/jss/m_logo091125.jpg)
