...
|
...
|
@@ -16,6 +16,8 @@ |
|
|
| :-- | :-- | :-- | :-- | :-- | :-- |
|
|
|
| method | string | 是 | app.ShoppingForOffline.query | | |
|
|
|
| shopping_key | string | 是 | 0cf4a54b77726692d55f384daa60ecc9 | | 购物车id|
|
|
|
| warehouse_id | int | 是 | 12 | | 仓库id|
|
|
|
|
|
|
|
|
|
|
|
|
### 正常返回结果
|
...
|
...
|
@@ -76,8 +78,10 @@ |
|
|
"size_name": "S",
|
|
|
"small_sort_id": "123",
|
|
|
"storage_number": "1",
|
|
|
"online_storage_number": "1", //线上库存
|
|
|
"offline_storage_number": "1", //门店库存
|
|
|
"offline_goods_status":1, //1.正常 2. 失效状态
|
|
|
"offline_storage_status":1, //1.正常 2. 售罄状态
|
|
|
"online_storage_number": 1, //线上库存
|
|
|
"offline_storage_number": 1, //门店库存
|
|
|
"str_subtotal": "¥100.00",
|
|
|
"subtotal": 100,
|
|
|
"supplier_id": 0,
|
...
|
...
|
@@ -272,7 +276,7 @@ |
|
|
| product_skn | int | 否 | 1111111 | |skn |
|
|
|
| offline_buy_number| int | 否 | | | 门店购买数量 |
|
|
|
| online_buy_number| int | 否 | | | 线上购买数量 |
|
|
|
| store_id | int | 是 | | | 门店id |
|
|
|
| warehouse_id | int | 是 | | | 仓库id |
|
|
|
| promotion_id | int | 否 | | | 促销优惠id |
|
|
|
| shopping_key | string | 否 | c36408a268e9b9418189d9a71967379e | | 购物车|
|
|
|
|
...
|
...
|
@@ -308,6 +312,7 @@ |
|
|
| product_sku | int | 是 | 12121212 | |sku |
|
|
|
| buy_type| int | 是 | | | 1:门店取货,2:线上购买 |
|
|
|
| shopping_key | string | 是 | c36408a268e9b9418189d9a71967379e | | 购物车|
|
|
|
| warehouse_id | int | 是 | | | 仓库id |
|
|
|
| increase_number | int | 是 | 1 | 1 | 增加数量 |
|
|
|
|
|
|
### 正常返回结果
|
...
|
...
|
@@ -522,6 +527,41 @@ |
|
|
```
|
|
|
|
|
|
|
|
|
### 批量解除临时购物车商品
|
|
|
|
|
|
### 接口说明
|
|
|
|
|
|
| 接口说明 | 接口说明 |
|
|
|
| :-- | -----: |
|
|
|
| 接口名 | app.ShoppingForOffline.batchunlock |
|
|
|
| 接口说明 | 批量解除临时购物车商品 |
|
|
|
| 接口说明 | 1.如果该shoppingkey已经与手环绑定则报错|
|
|
|
|
|
|
| http请求方式 | GET/POST |
|
|
|
|
|
|
### 请求参数
|
|
|
| 名称 | 类型 | 是否必须 | 示例值 | 默认值 | 描述 |
|
|
|
| :-- | :-- | :-- | :-- | :-- | :-- |
|
|
|
| method | string | 是 | app.ShoppingForOffline.batchunlock | | |
|
|
|
| shopping_key | string | 否 | c36408a268e9b9418189d9a71967379e | | 购物车|
|
|
|
|
|
|
|
|
|
### 正常返回结果
|
|
|
```json
|
|
|
{
|
|
|
"alg": "SALT_MD5",
|
|
|
"code": 200,
|
|
|
"data": {
|
|
|
"shopping_key": "c36408a268e9b9418189d9a71967379e" //手环
|
|
|
"md5_qr_key": "c36408a268e9b9418189d9a719673734e" //md5后的手环
|
|
|
|
|
|
},
|
|
|
"md5": "5f7db2059c7e09259edca244025949a9",
|
|
|
"message": "操作成功"
|
|
|
}
|
|
|
```
|
|
|
|
|
|
|
|
|
### 解除绑定手环
|
|
|
|
|
|
### 接口说明
|
...
|
...
|
|