...
|
...
|
@@ -624,8 +624,7 @@ code为200即为成功,否则是失败。 |
|
|
|cart_type|string|否|ordinary|ordinary|购物车类型|
|
|
|
|shopping_key|string|否|Y123456|Y123456|手环编号|
|
|
|
|offline_buy_type|int|否|1|购买方式,1店员购买,2用户自行购买|
|
|
|
|store_id|int|是|12|0|门店id|
|
|
|
|warehouse_id|int|是|66|0|仓库id|
|
|
|
|address_id|int|否|6258152||送货地址id|
|
|
|
|employee_uid|int|是|||店员uid
|
|
|
|
|
|
### 响应
|
...
|
...
|
@@ -902,4 +901,87 @@ code为200即为成功,否则是失败。 |
|
|
"md5": "21373766c16be899be763237a9dc1e11",
|
|
|
"message": "offline payment data."
|
|
|
}
|
|
|
```
|
|
|
|
|
|
## 线下店购物车提交接口 ##
|
|
|
#### 说明
|
|
|
线下店购物车优惠券列表(app.ShoppingForOffline.offlineSelectCoupon)
|
|
|
#### 请求参数
|
|
|
| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
|
|
|
|:-------| -----:|-----:|-----:|-----:|----:|
|
|
|
|uid|int|否|3236556|0|用户id|
|
|
|
|cart_type|string|否|ordinary|ordinary|购物车类型|
|
|
|
|shopping_key|string|否|Y123456|Y123456|手环编号|
|
|
|
|coupon_code|string|是|dp61grh1220kew||选中的优惠券:可为null,也可以是多个,以,分隔|
|
|
|
|employee_uid|int|是|||店员uid
|
|
|
|
|
|
### 响应
|
|
|
code为200即为成功,否则是失败。
|
|
|
响应JSON格式如下所示:
|
|
|
```json
|
|
|
{
|
|
|
"alg": "SALT_MD5",
|
|
|
"code": 200,
|
|
|
"data": {
|
|
|
"unusable_coupon_catalogs": {
|
|
|
"list": [
|
|
|
{
|
|
|
"coupons": [],
|
|
|
"name": "凑单可用"
|
|
|
},
|
|
|
{
|
|
|
"coupons": [
|
|
|
{
|
|
|
"catalog": 100,
|
|
|
"catalog_name": "店铺券",
|
|
|
"coupon_code": "dp61grp1220kf0",
|
|
|
"coupon_name": "111",
|
|
|
"coupon_type": "6",
|
|
|
"coupon_validity": "2018.03.08-2018.03.31",
|
|
|
"coupon_value": "111.0000",
|
|
|
"desc": "加购商品不满足使用条件",
|
|
|
"is_selected_support": "N",
|
|
|
"selected": "N",
|
|
|
"shopId": "792"
|
|
|
}
|
|
|
],
|
|
|
"name": "本订单商品不可用"
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
"usable_coupon_catalog": {
|
|
|
"list": [
|
|
|
{
|
|
|
"coupons": [
|
|
|
{
|
|
|
"catalog": 100,
|
|
|
"catalog_name": "店铺券",
|
|
|
"coupon_code": "dp61grh1220kew",
|
|
|
"coupon_name": "nike店铺优惠券1号",
|
|
|
"coupon_type": "6",
|
|
|
"coupon_validity": "2018.03.08-2018.03.31",
|
|
|
"coupon_value": "1.0000",
|
|
|
"is_selected_support": "Y",
|
|
|
"selected": "Y"
|
|
|
},
|
|
|
{
|
|
|
"catalog": 100,
|
|
|
"catalog_name": "店铺券",
|
|
|
"coupon_code": "dp61grh1220kex",
|
|
|
"coupon_name": "微信卡券2",
|
|
|
"coupon_type": "6",
|
|
|
"coupon_validity": "2018.03.08-2018.03.31",
|
|
|
"coupon_value": "2.0000",
|
|
|
"is_selected_support": "Y",
|
|
|
"selected": "N"
|
|
|
}
|
|
|
],
|
|
|
"name": "可用"
|
|
|
}
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"md5": "74090c79e79fed13fab282f5ad4c8961",
|
|
|
"message": "操作成功"
|
|
|
}
|
|
|
``` |
|
|
\ No newline at end of file |
...
|
...
|
|