Ticket #59 (closed task: fixed)
数据接口-/yp/company_dealer_brand_ad.jsp
| Reported by: | huangzhong | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | 网友前台 | Version: | 6.0 |
| Keywords: | 接口整理 | Cc: | chenyinle, huangjianhua, liaojunqiang |
| Due Date: | 31/01/2012 |
Description (last modified by huangzhong) (diff)
参数及默认值
areaId:报价地区
notInAreaId:不包含的报价地区
ts:品牌id
max:数据量(default=200)
callback:回调函数名(default=list)
描述
用于文章资讯页及行情页上的经销商(购买了广告)接口
用途及具体的传参
http://mobile.pconline.com.cn/market/xa/1112/2619319.html页面右侧的豆腐块

monitor
22:33:09,121.14.162.28/192.168.238.44,
ts=46291&max=12&callback=callback2¬InAreaId=1,2,3,4,
http://mobile.pconline.com.cn/market/xa/1112/2619319.html
缓存方式及时间
浏览器缓存:1小时 mc缓存:1小时
逻辑
1.如果只传入一个品牌,则露出购买了此品牌对应地区报价库广告的商家(按照relation_start_date即第一次和太平洋买广告的时间顺序排列,如果有购买了绝对位置的商家,则出现在绝对位置上)
2.如果传入多个品牌,则露出购买了此品牌对应地区报价库及产品库广告的商家
使用频率
每分钟94.35次
查询效率
比较慢,其中36个分站循环查询pp_ad表此品牌的商家
涉及到的表
PP_AD,PDL_AD,V_ENT_COMPANY
备注
接口返回json数据,直接在页面上通过js调用
Attachments
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)
