简要描述:

  • 添加标签

请求域名:

  • http://xx.com

请求URL:

xx.com/business/{公众号id}/plugin/StaffCode/dataAnalysis

参数:

参数名 是否必须 类型 说明
id int 活码ID
day int 日期,十位时间戳

返回示例:

正确时返回:

{
	"result": 1,
	"msg": "成功",
	"data": {
		"days": [
			"03-11",
			"03-10",
			"03-09",
			"03-08",
			"03-07",
			"03-06"
		],
		"add_people": [
			0,
			0,
			0,
			0,
			0,
			0
		],
		"delete_people": [
			0,
			0,
			0,
			0,
			0,
			0
		]
	}
}

错误时返回:

  {
  }

返回参数说明:

参数名 类型 说明
名称 类型 说明
days arr 日期
add_people arr 新增人数
delete_people arr 删除人数
today_delete_people int 今日删除人数
today_add_people int 今日新增人数