...
|
...
|
@@ -808,3 +808,39 @@ |
|
|
```json
|
|
|
同查询购物车返回结果
|
|
|
```
|
|
|
|
|
|
### 更换赠品、加价购
|
|
|
|
|
|
### 接口说明
|
|
|
|
|
|
| 接口说明 | 接口说明 |
|
|
|
| :-- | -----: |
|
|
|
| 接口名 | app.Shopping.swapGift |
|
|
|
| 接口说明 | 更换赠品、加价购 |
|
|
|
| http请求方式 | GET/POST |
|
|
|
|
|
|
### 请求参数
|
|
|
| 名称 | 类型 | 是否必须 | 示例值 | 默认值 | 描述 |
|
|
|
| :-- | :-- | :-- | :-- | :-- | :-- |
|
|
|
| method | string | 是 | app.Shopping.swapGift | | |
|
|
|
| uid | int | 否 | 5772257 | | |
|
|
|
| shopping_key | string | 否 | c36408a268e9b9418189d9a71967379e | | |
|
|
|
| promotion_id | int | 是 | 111111 | | |
|
|
|
| new_product_sku | int | 是 | 1 | | |
|
|
|
| old_product_sku | int | 是 | 2 | | |
|
|
|
| client_type | string | | web | web | |
|
|
|
|
|
|
### 正常返回结果
|
|
|
```json
|
|
|
{
|
|
|
{
|
|
|
"alg": "SALT_MD5",
|
|
|
"code": 200,
|
|
|
"data": {
|
|
|
"shopping_key":"xxxxx",
|
|
|
"goods_count":1 //0是否,大于 0,表示成功
|
|
|
},
|
|
|
"md5": "e2c62030c5404412b17e56bbd90f39de",
|
|
|
"message": "cart goods list."
|
|
|
}
|
|
|
``` |
|
|
\ No newline at end of file |
...
|
...
|
|