1
简要描述:
- 提现详情接口
请求域名:
- http://test.yunzshop.com
请求URL:
GET/addons/yun_shop/api.php?i=6&route=finance.withdraw.withdraw-info
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
i | 是 | int | 店铺ID |
id | 是 | int | 提现记录ID |
返回示例:
正确时返回:
{
"result": 1,
"msg": "获取数据成功!",
"data": {
"id": 1,
"withdraw_sn": "20170408jjtmsxdcg00006eic13mihrz",
"pay_way": "balance",
"type": "Yunshop\\Commission\\models\\CommissionOrder",
"type_id": "1,4",
"type_name": "分销佣金",
"amounts": "9.90",
"poundage": "0.99",
"status": "1",
"created_at": "2017-04-08 16:33:20",
"actual_amounts": "5.94",
"actual_poundage": "0.66",
"incomes": [
{
"id": 1,
"uniacid": "6",
"uid": "146",
"order_sn": "sn1491531251",
"price": "29.70",
"goods_price": "29.70",
"goods_total": "1",
"status": "3",
"create_time": "2017-04-07 10:14:11",
"is_deleted": "0",
"is_member_deleted": "0",
"finish_time": "2017-04-07 10:15:24",
"pay_time": "2017-04-07 10:15:07",
"send_time": "2017-04-07 10:15:17",
"cancel_time": "1970-01-01 08:00:00",
"created_at": "1491531251",
"updated_at": "1491531324",
"deleted_at": "0",
"cancel_pay_time": "1970-01-01 08:00:00",
"cancel_send_time": "1970-01-01 08:00:00",
"dispatch_type_id": "0",
"dispatch_price": "0.00",
"pay_type_id": "0",
"discount_price": "0.00",
"order_goods_price": "29.70",
"deduction_price": "0.00",
"status_name": "交易完成",
"pay_type_name": "未支付",
"has_one_pay_type": {
"id": 0,
"name": "未支付",
"plugin_id": "0"
},
"goods": [
{
"id": 1,
"uniacid": "6",
"goods_id": "14",
"total": "1",
"create_at": "0",
"price": "29.70",
"goods_sn": "",
"uid": "146",
"thumb": "http://test.ysv2.com/attachment/images/6/2017/02/pz6YURqtIUtF2622Cz62ucYfhcMuYi.jpg",
"title": "sss",
"goods_price": "33.00",
"goods_option_id": "0",
"goods_option_title": "",
"product_sn": "",
"created_at": "2017-04-07 10:14:11",
"updated_at": "2017-04-07 10:14:11",
"discount_price": "0.00"
}
]
},
{
"id": 2,
"uniacid": "6",
"uid": "146",
"order_sn": "sn1491531257",
"price": "59.40",
"goods_price": "59.40",
"goods_total": "2",
"status": "3",
"create_time": "2017-04-07 10:14:17",
"is_deleted": "0",
"is_member_deleted": "0",
"finish_time": "2017-04-07 10:15:43",
"pay_time": "2017-04-07 10:15:13",
"send_time": "2017-04-07 10:15:37",
"cancel_time": "1970-01-01 08:00:00",
"created_at": "1491531257",
"updated_at": "1491531343",
"deleted_at": "0",
"cancel_pay_time": "1970-01-01 08:00:00",
"cancel_send_time": "1970-01-01 08:00:00",
"dispatch_type_id": "0",
"dispatch_price": "0.00",
"pay_type_id": "0",
"discount_price": "0.00",
"order_goods_price": "59.40",
"deduction_price": "0.00",
"status_name": "交易完成",
"pay_type_name": "未支付",
"has_one_pay_type": {
"id": 0,
"name": "未支付",
"plugin_id": "0"
},
"goods": [
{
"id": 2,
"uniacid": "6",
"goods_id": "14",
"total": "2",
"create_at": "0",
"price": "59.40",
"goods_sn": "",
"uid": "146",
"thumb": "http://test.ysv2.com/attachment/images/6/2017/02/pz6YURqtIUtF2622Cz62ucYfhcMuYi.jpg",
"title": "sss",
"goods_price": "66.00",
"goods_option_id": "0",
"goods_option_title": "",
"product_sn": "",
"created_at": "2017-04-07 10:14:17",
"updated_at": "2017-04-07 10:14:17",
"discount_price": "0.00"
}
]
}
]
}
}
错误时返回:
{
"result": 0,
"msg": "未检测到数据!",
"data": {}
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
暂无 |
备注:
- 更多返回错误代码请看首页的错误代码描述