简要描述:

  • 预约收入列表

请求URL:

GET/plugin.appointment.frontend.income.get-list

参数:

参数名 是否必须 类型 说明
income_type int 收入类型:0-门店收入,1-技师收入,2-招商员收入
page int 页码

返回示例:

正确时返回:

{
	"result": 1,
	"msg": "成功",
	"data": {
		"current_page": 1,
		"data": [ {
			"order_sn": "SN20200816085744k9",
			"amount": "20.00",
			"created_time_str": "1970.01.01 08:00:00",
			"status_desc": "未提现",
			"service_id": 60,
			"project_title": "项目名称12",
			"total_count": 5,
			"total_commission": "100.00"
		}],
		"first_page_url": "https:\/\/dev1.yunzmall.com\/addons\/yun_shop\/api.php?page=1",
		"from": 1,
		"last_page": 1,
		"last_page_url": "https:\/\/dev1.yunzmall.com\/addons\/yun_shop\/api.php?page=1",
		"next_page_url": null,
		"path": "https:\/\/dev1.yunzmall.com\/addons\/yun_shop\/api.php",
		"per_page": 10,
		"prev_page_url": null,
		"to": 2,
		"total": 2
	}
}

错误时返回:

  

返回参数说明:

参数名 类型 说明
order_sn string 订单编号
amount string 本次分红金额
created_time_str string 创建时间
status_desc string 状态描述
service_id int 预约ID
project_title string 项目名称
total_count int 总次数
total_commission string 分红总金额

备注:

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