1

简要描述:

  • 提现详情接口

请求域名:

  • http://test.yunzshop.com

请求URL:

GET/addons/yun_shop/api.php?i=6&route=finance.withdraw.withdraw-list

参数:

参数名 是否必须 类型 说明
status int 结算状态:0未结算,1已结算,-1已失效
withdrawal_type string 提成类型:'store'门店,'store_cashier'门店收银台,'hotel'酒店,'hotel_cashier'酒店收银台,'auction'拍卖

返回示例:

正确时返回:

{
	result: 1,
	msg: "查询成功",
	data: {
		total: 3,
		per_page: 3,
		current_page: 1,
		last_page: 1,
		next_page_url: null,
		prev_page_url: null,
		from: 1,
		to: 3,
		data: [{
				order_sn: "SN20180929142011Ls",
				created_at: "2019-04-29 11:00:07",
				amount: "100.00",
				status: 1
			},
			{
				order_sn: "SN20180929143330fH",
				created_at: "2019-05-23 11:11:24",
				amount: "0.01",
				status: 1
			},
			{
				order_sn: "SN20180929144201Rw",
				created_at: "2019-05-28 13:56:05",
				amount: "18.00",
				status: 1
			}
		],
		thismonth: 0,
		lastweek: 0,
		yesterday: 0,
		today: 0
	}
}

错误时返回:

{
result: 0,
msg: "查询失败",
data: [ ]
}

返回参数说明:

参数名 类型 说明
thismonth int 本月累计提成
lastweek int 本周累计提成
yesterday int 昨天累计提成
today int 今天累计提成
order_sn string 订单号
created_at time 时间
amount Decimal 提成金额
status int 结算状态: 0未结算,1已结算,-1已失效

备注:

  • 更多返回错误代码请看首页的错误代码描述