| Version 27 (modified by wuyuanbo, 10 years ago) (diff) |
|---|
商品
商品选择
线上:/appIntf/goods/showGoods.jsp
说明
商品选择页面
提交方式
get
是否需要登录
false
缓存方式
无
缓存时间
无
参数
| 参数名 | 参数含义 | 类型 | 默认值 | 是否必须 |
|---|---|---|---|---|
| topicId | 爆料id | int | 0 | 是 |
返回
打开页面
商品信息确认
线上:/appIntf/goods/checkGoods.jsp
说明
展示用户要下单的商品
提交方式
post
是否需要登录
true
缓存方式
无
缓存时间
无
参数
| 参数名 | 参数含义 | 类型 | 默认值 | 是否必须 |
|---|---|---|---|---|
| outerId | 商品outerId | string | "" | 是 |
| common_session_id(cookie参数) | - | string | "" | 是 |
返回
result {
status: 1,
msg: '请求成功',
data: {
goodsItemId: 123456,
outerId: "BO1234564", //outerId
enName: "ECCO Men's Dress Moccasin Penny Loafer", //商品标题
property: "Size: 42 M EU / 8-8.5 D(M) US|Color: Black", //商品参数 有些商品没有参数 此项为""
imgUrl: "xxx.xxxx...", //商品图片
cnPrice: 123.00, //人民币单价
frPrice: 20.00, //美元单价
itemCnPrice: 123.00 //商品总价 单价*数量
tariffCharge: 120.00, //关税
expCharge: 123.00, //运费
totalPrice: 100000.00, //订单总价
quantity: 1, //商品购买数量
mallId: 123, //电商id
mallName: "美国亚马逊" //电商名称
}
}
返回状态
| status | msg | 含义 |
|---|---|---|
| 1 | 请求成功 | 请求成功 |
| -1 | 请求失败 | 后台数据操作错误 |
| -2 | 未登录 | 未登录 |
| -3 | 非法请求! | 非post请求 |
| -4 | 验证出错! | 签名验证未通过 |
| 10 | 对不起,该商品无效! | 商品无效 |
| 11 | 对不起,该商品已无货! | 商品无货 |
| 23 | 对不起,商品不存在||商品不存在 |
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)