简要描述:

-提现列表

请求URL:

&route=plugin.shop-assistant.frontend.withdraw.withdraw-list

请求参数说明:

参数名 类型 是否必需 说明
search[member] int 搜索会员
search[status] int 提现状态:-1无效,0未审核,1待打款,2已打款,3已驳回,4打款中

返回示例:

正确时返回:

{
	"result": 1,
	"msg": "ok",
	"data": {
		"current_page": 1,
		"data": [
			{
				"id": 1,
				"withdraw_sn": "WS20190417104959565274",
				"created_at": "2019-04-17 10:49:59",
				"status": 3,
				"pay_way": "wechat",
				"type": "balance",
				"type_name": "余额",
				"amounts": "100.00",
				"poundage": "5.00",
				"actual_amounts": "95.00",
				"actual_poundage": "5.00",
				"servicetax": null,
				"status_name": "已驳回",
				"pay_way_name": "提现到微信",
				"pay_way_icon": "zhifubao",
				"payment_button_name": "打款到微信钱包",
				"has_one_member": null
			},
			{
				"id": 2,
				"withdraw_sn": "WS20190417105149108174",
				"created_at": "2019-04-17 10:51:49",
				"status": 0,
				"pay_way": "wechat",
				"type": "balance",
				"type_name": "余额",
				"amounts": "500.00",
				"poundage": "0.00",
				"actual_amounts": "500.00",
				"actual_poundage": "0.00",
				"servicetax": null,
				"status_name": "待审核",
				"pay_way_name": "提现到微信",
				"pay_way_icon": "zhifubao",
				"payment_button_name": "打款到微信钱包",
				"has_one_member": null
			}
		],
		"first_page_url": "http://yzmall.com/addons/yun_shop/api.php?page=1",
		"from": 1,
		"last_page": 69,
		"last_page_url": "http://yzmall.com/addons/yun_shop/api.php?page=69",
		"next_page_url": "http://yzmall.com/addons/yun_shop/api.php?page=2",
		"path": "http://yzmall.com/addons/yun_shop/api.php",
		"per_page": 2,
		"prev_page_url": null,
		"to": 2,
		"total": 138
	}
}

返回参数说明:与接口coupon.member-coupon.coupons-of-member-by-status-v2参数一致

参数名 类型 说明
id int id
withdraw_sn string 提现单号
created_at string 提现时间
status string 提现状态:-1无效,0未审核,1待打款,2已打款,3已驳回,4打款中
status_name string 提现状态转中文
pay_way string 提现打款方式:balance余额,wechat微信,alipay支付宝
pay_way_icon string 提现打款方式使用图标
member_id int 提现会员ID
type string 收入类型
type_name string 提现收入类型名称
amounts float 提现金额
poundage float 手续费
actual_amounts float 最终打款金额
actual_poundage float 最终手续费
payment_button_name string 需要显示打款按钮时,该按钮名字使用这个
has_one_member array 提现会员信息

has_one_member返回参数说明:

参数名 类型 说明
uid int 会员ID
avatar string 头像
nickname string 昵称

错误时返回:

{
    "result": 0,
    "msg": "请登录",
    "data": []
}