简要描述:

  • 早起打卡-我的战绩明细

请求域名:

  • http://test.yunzshop.com

请求URL:

GET: plugin.clock-in.api.clock-in-member.get-clock-list

参数:

参数名 是否必须 类型 说明
i int 店铺ID

返回示例:

正确时返回:

{
	result: 1,
	msg: "成功",
	data: {
		total: 4,
		per_page: 20,
		current_page: 1,
		last_page: 1,
		next_page_url: null,
		prev_page_url: null,
		from: 1,
		to: 4,
		data: [
			{
				id: 16,
				clock_in_status: "1",
				created_at: "2017-11-14 11:15:56",
				queue_id: null,
				pay_status_name: null,
				clock_in_status_name: "打卡成功",
				has_one_reward: {
					pay_id: "1",
					amount: "5.00"
				}
			},
			{
				id: 1,
				clock_in_status: "0",
				created_at: "2017-11-08 00:00:01",
				queue_id: "1",
				pay_status_name: null,
				clock_in_status_name: "未打卡",
				has_one_reward: {
				pay_id: "1",
				amount: "5.00"
			}
		]
	}
}

错误时返回:

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

返回参数说明:

参数名 类型 说明
created_at string 支付时间
clock_in_status_name int 打卡状态
has_one_reward array 奖励
amount arrstringay 奖励金额

备注:

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