Ticket #75 (new defect) — at Version 3
数据接口-/yp/productPrice_brand_hot_news.jsp
| Reported by: | huangzhong | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | 系统相关 | Version: | 6.0 |
| Keywords: | 接口整理 | Cc: | |
| Due Date: | 31/01/2012 |
Description (last modified by huangzhong) (diff)
参数及默认值
areaId:报价地区(default=0或者100,都为全国)
max:数据量(default=12)
brandId:品牌id
smTypeId:小类id
fixedIds:根据商家ID插入其关联的一条商情,默认为空
fixedNids:根据商情ID插入一条商情,默认为空
style:样式(default=1)
time:浏览器缓存时间(单位为秒)
ccf:是否改变默认城市
描述
在报价索引页中显示商情
用途及具体的传参
http://product.pconline.com.cn/notebook/
http://product.pconline.com.cn/notebook/lenovo/
报价索引页页面底部的商家优惠信息

brandId=22413&areaId=1&max=12&smTypeId=20852&time=3600
缓存方式及时间
浏览器缓存:默认为3600秒 mc缓存:3*3600秒
逻辑
1.商情类型为新品、热卖(供应)、促销
2.商情状态为待审、通过
3.每商家限出1条
4.前两位为旗舰店商家,如没有旗舰店商家的相关商情,则按以下规则自动补位。
5.优先购买该品牌服务的VIP商家,接着为其他VIP商家。
6.按照商情发布时间降序排序,更新时间越靠近商城索引更新时间越靠前。
使用频率
每分钟64.9次
查询效率
涉及到的表
ent_news、ent_company、ent_flag_ship_store_ad、pdl_ad、pp_ad
Change History
Note: See
TracTickets for help on using
tickets.
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/global/2008/images/jss/m_logo091125.jpg)
