| Version 4 (modified by lijincai, 13 years ago) (diff) |
|---|
接口列表
1,首页
2,店铺页
3,产品概述
4,确认购买
5,精准搜索
6,个人中心
6.1 买家收货地址列表 请求url: /addrs
返回参数: {
"addrList:"
[
{
"id":"123"买家Id "addrid":"1234"收货地址id
"name":收货人 "addr":收货地址 "postcode":邮编 "phone":联系电话
},{…},{…}
]
}
6.2 添加收货地址 请求url: /addAddrs
请求参数:
"id":"123"买家Id "name":收货人
"addr":收货地址 "postcode":邮编 "phone":联系电话
返回参数:
"code": 1 1成功,0失败
6.3 删除收货地址 请求url: /delAddrs
请求参数
[id]:买家Id [addrid]:收货地址id
返回参数:
"code": 1 1成功,0失败
6.4 定单详情 请求url: /orderInfo
请求参数:
"id":买家Id "orderId":定单ID"
返回参数:
{
"productName":商品名称 "addr":收货地址 "price":单价 "count":购买数量 "fare":邮费 "totalPrice":总价 "orderNO":IT商城详单号"
}
6.5 已买到的商品 请求url: /bought
返回参数:
{
"buyList":
[
{
[id]:买家Id [productid]:商品的ID [url]:商品详情的url [pic]:商品缩略图 [price]:价格 [orderId]:定单id [status]:交易状态"
},{…},{...}
]
}
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)