订单列表新增商品时展现库存
订单列表新增商品时展现库存
Head
station接口改动
/station/skus/addr? 下单中查找商品
说明:
1.返回值中新增了now_stocks字段。
2.当now_stocks返回-99999时,代表不限制库存,展示“-”符号。返回其他值时都为真实值,直接展示。
接口描述:
创建订单时查找商品
方法:
get
请求:
不变
返回值:
{
"code": 0,
"data": [
0:{
...
now_stocks:6
...
},
1:{
...
now_stocks:5
...
},
2:{
...
now_stocks:-99999
},
...
],
"msg": "ok"
}
请求示例:
http://station.chenwei.devhost.guanmai.cn/station/skus/addr?
address_id=177053&offset=0&limit=10&search_text=%E8%8D%89%E9%B1%BC&
fetch_category=1&active=1&time_config_id=ST2185&usual_type=2
响应:
不变