wiki:app2.2.0/goods

Version 29 (modified by wuyuanbo, 10 years ago) (diff)

--

商品

商品选择

线上:/appIntf/goods/showGoods.jsp

说明

商品选择页面

提交方式

get

是否需要登录

false

缓存方式

缓存时间

参数

参数名 参数含义 类型 默认值 是否必须
topicId爆料idint0

返回

打开页面

商品信息确认

线上:/appIntf/goods/checkGoods.jsp

说明

展示用户要下单的商品

提交方式

post

是否需要登录

true

缓存方式

缓存时间

参数

参数名 参数含义 类型 默认值 是否必须
outerId商品outerIdstring""
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,      //运费
           appExpCharge: 103.00,   //app优惠运费
           totalPrice: 100000.00,  //订单总价
           quantity: 1,            //商品购买数量
           mallId: 123,            //电商id
           mallName: "美国亚马逊"  //电商名称
        }
}

返回状态

status msg 含义
1请求成功请求成功
-1请求失败后台数据操作错误
-2未登录未登录
-3非法请求!非post请求
-4验证出错!签名验证未通过
10对不起,该商品无效!商品无效
11对不起,该商品已无货!商品无货
23对不起,商品不存在!商品不存在