Ticket #61 (new defect: null) — at Version 1
数据接口-companys_product_price_json_js.jsp
| Reported by: | chenyinle | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | 网友前台 | Version: | 6.0 |
| Keywords: | 接口整理 | Cc: | |
| Due Date: | 20/12/2011 |
Description (last modified by chenyinle) (diff)
参数及默认值
cids:多个商家ID,用逗号隔开,默认为空
brandId:产品品牌ID,默认为0
pid:产品ID,默认为0
time:浏览器的页面缓存时间,默认3600秒
描述
Description: 被引用的JSON接口--产品库页面推荐公司+VIP商家(购买地点)读商家报价及QQ的数据接口接口
输出的数据格式:Json格式
User: hpjianhua
Date: 2011-05-25
用途及具体的传参
96936,2011-12-19 14:32:21,192.168.239.64/192.168.238.43,pid=467321&brandId=24345,
16408,2011-12-19 14:26:00,192.168.239.158/192.168.238.43,pid=416607&brandId=25572&cids=365803,175585,507,127953,286028,47501,439853,424379,
缓存方式及时间
mc缓存3小时,浏览器缓存默认1小时
逻辑
根据产品型号、品牌、商家cids出商品数据
1、根据公司ID,产品ID取数据(优先)
2、根据产品ID,品牌ID取数据
涉及到的表
v_ent_product、ent_company
备注
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)