...
|
...
|
@@ -277,12 +277,13 @@ code为200即为成功,否则是失败。 |
|
|
"fast_shopping_cost": 15,
|
|
|
"gain_yoho_coin": 0,
|
|
|
"goods_count": 1,
|
|
|
"instalment": {
|
|
|
"is_support": "Y",
|
|
|
"plan_amount_per_name": "分3期(¥105.41*3)",
|
|
|
"plan_int_amount_per_name": "手续费¥26.08/期",
|
|
|
"term": 3
|
|
|
},
|
|
|
"instalment": {
|
|
|
"is_support": "Y",//是否支持
|
|
|
"plan_amount_per": 326.66,//每期应还金额
|
|
|
"plan_amount_per_name": "分3期(¥326.66*3)",
|
|
|
"plan_int_amount_per_name": "免手续费",
|
|
|
"term": 3 //期数
|
|
|
},
|
|
|
"last_order_amount": 178,
|
|
|
"order_amount": 168,
|
|
|
"promotion_formula": "总计¥178.00=商品金额¥168.00+运费¥10.00",
|
...
|
...
|
@@ -391,11 +392,12 @@ code为200即为成功,否则是失败。 |
|
|
"use_red_envelopes": 0,
|
|
|
"use_yoho_coin": 0,
|
|
|
"instalment": {
|
|
|
"is_support": "Y",
|
|
|
"plan_amount_per_name": "分3期(¥105.41*3)",
|
|
|
"plan_int_amount_per_name": "手续费¥26.08/期",
|
|
|
"term": 3
|
|
|
},
|
|
|
"is_support": "Y",//是否支持
|
|
|
"plan_amount_per": 326.66,//每期应还金额
|
|
|
"plan_amount_per_name": "分3期(¥326.66*3)",
|
|
|
"plan_int_amount_per_name": "免手续费",
|
|
|
"term": 3 //期数
|
|
|
},
|
|
|
"is_multi_package":"Y",
|
|
|
"package_list":[{
|
|
|
"supplier_id":"0",
|
...
|
...
|
@@ -516,73 +518,7 @@ code为200即为成功,否则是失败。 |
|
|
}
|
|
|
```
|
|
|
|
|
|
## 10、有货账单分期列表 ##
|
|
|
#### 说明
|
|
|
有货账单分期列表 在支付页显示(app.payment.listInstalment)
|
|
|
#### 请求参数
|
|
|
| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
|
|
|
|:-------| -----:|-----:|-----:|-----:|----:|
|
|
|
|uid|int|否|3236556|0|用户id|
|
|
|
|order_code|long|否|1612345678||订单号|
|
|
|
|client_type|string|否|web|iphone|终端|
|
|
|
|
|
|
### 响应
|
|
|
POST
|
|
|
code为200即为成功,否则是失败。
|
|
|
响应JSON格式如下所示:
|
|
|
|
|
|
```json
|
|
|
{
|
|
|
"alg": "SALT_MD5",
|
|
|
"code": 200,
|
|
|
"data": {
|
|
|
"is_support":"Y",
|
|
|
"list":[
|
|
|
{
|
|
|
"is_default":"Y",
|
|
|
"is_support":"Y",
|
|
|
"plan_amount_per_name":"不分期($130.00)",
|
|
|
"plan_int_amount_per_name":"无手续费",
|
|
|
"term":1
|
|
|
},
|
|
|
{
|
|
|
"is_default":"N",
|
|
|
"is_support":"Y",
|
|
|
"plan_amount_per_name":"分3期($100.00*3)",
|
|
|
"plan_int_amount_per_name":"手续费$10/期",
|
|
|
"term":3
|
|
|
},
|
|
|
{
|
|
|
"is_default":"N",
|
|
|
"is_support":"Y",
|
|
|
"plan_amount_per_name":"分6期($100.00*3)",
|
|
|
"plan_int_amount_per_name":"手续费$10/期",
|
|
|
"term":6
|
|
|
},
|
|
|
{
|
|
|
"is_default":"N",
|
|
|
"is_support":"Y",
|
|
|
"plan_amount_per_name":"分9期($100.00*3)",
|
|
|
"plan_int_amount_per_name":"手续费$10/期",
|
|
|
"term":9
|
|
|
},
|
|
|
{
|
|
|
"is_default":"N",
|
|
|
"is_support":"Y",
|
|
|
"plan_amount_per_name":"分12期($100.00*3)",
|
|
|
"plan_int_amount_per_name":"手续费$10/期",
|
|
|
"term":12
|
|
|
}
|
|
|
],
|
|
|
"orderCode":111,
|
|
|
"uid":1
|
|
|
},
|
|
|
"md5": "47eb4073ca797fd7dc5968de7a20bda2",
|
|
|
"message": "use coupon code."
|
|
|
}
|
|
|
```
|
|
|
|
|
|
## 11、使用优惠码 ##
|
|
|
## 10、使用优惠码 ##
|
|
|
#### 说明
|
|
|
使用优惠码(app.Buynow.usePromotionCode)
|
|
|
#### 请求参数
|
...
|
...
|
|