简要描述:
请求域名:
请求URL:
GET:plugin.enter-goods.frontend.order.success
参数:
参数名 |
是否必须 |
类型 |
说明 |
order_id |
是 |
int |
订单id |
goods_id |
是 |
int |
商品id |
返回示例:
正确时返回:
{
"result":1,
"msg":"成功",
"data":{
"enter_goods":{
"id":2,
"uniacid":3,
"goods_id":173,
"pay_type_id":1,
"thumb":"",
"footer_content":null,
"payment_background_thumb":"",
"created_at":"2018-12-04 14:03:54",
"updated_at":"2018-12-04 14:03:54",
"deleted_at":null,
"qrcode_url":"http://www.yunzong.com/addons/yun_shop/storage/app/public/qr/enter-goods/d2625d86d2593081efffee5bcee76202.png",
"qrcode_path":"app/public/qr/enter-goods/d2625d86d2593081efffee5bcee76202.png"
},
"order":{
"id":2570,
"order_sn":"SN20180807153614M1",
"status":3,
"pay_type_id":3,
"status_name":"交易完成",
"pay_type_name":"余额",
"process":[
],
"has_one_pay_type":{
"id":3,
"name":"余额",
"plugin_id":0,
"code":"balance",
"type":1,
"unit":"元",
"updated_at":"2017-09-19 09:48:07",
"created_at":null,
"deleted_at":null,
"setting_key":"shop.pay.credit",
"need_password":1
}
}
}
}
错误时返回:
{
"result": 0,
"msg": "错误数据"
}
返回参数说明:
参数名 |
类型 |
说明 |
order |
order |
订单信息 |
enter_goods |
enter_goods |
入驻商品信息 |
order参数名 |
类型 |
说明 |
order_sn |
string |
订单编号 |
enter_goods参数 |
类型 |
说明 |
thumb |
string |
底部信息图片 |
footer_content |
strin |
底部文案 |
payment_background_thumb |
string |
支付页背景图片 |
备注: