简要描述:
- 渠道商结算页
请求URL:
POST:一级域名/wapapi/addons/execute/addons/channel/controller/channel/action/channelSettlement
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
buy_type | 是 | 购买类型 | purchase:采购操作,pickupgoods:自提操作 |
返回示例:
正确时返回:
{
"code": 0,
"message": "获取成功",
"data": {
"shop_list": [
{
"buyer_id": 168,
"goods_id": 3,
"goods_name": "wszx001",
"sku_id": 6,
"sku_name": "pic111 蓝色 M ",
"price": "0.22",
"num": 3,
"goods_picture": "http://www.nshop.com/upload/26/common/1535960901.png",
"max_buy": 87,
"purchase_to": "tim",//采购于谁
"min_buy": 1
}
],
"shop_name": "tim",
"shop_id": 0,
"total_money": 0.66,
"total_quantity": 3,
"buy_type": "purchase",
"total_shipping_fee": 0,
"address_info": "江苏省 南京市 玄武区 asfd",
"province": 10,
"city": 74,
"district": 738,
"address_id": 1,
"consigner": "asdf",
"mobile": "15768882033"
}
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
buyer_id | int | 购买人uid |
shop_name | string | 店铺名称 |
shop_id | int | 店铺id |
goods_id | int | 商品id |
goods_name | string | 商品名称 |
price | float | 单价 |
num | int | 商品数量 |
goods_picture | string | 商品图片路径 |
max_buy | int | 单次最大购买量 |
min_buy | int | 单次最小购买量 |
total_money | float | 总价格 |
total_shipping_fee | float | 总运费 |
total_quantity | int | 总件数 |
buy_type | string | 渠道商购买方式,purchase:采购,pickupgoods:自提 |
address_info | string | 收货详细地址 |
province | int | 省id |
city | int | 市id |
address_id | int | 收货地址id |
consigner | string | 收货人姓名 |
mobile | string | 收货人电话 |