累计记录.md 639 B

累计记录

jog/listOneYear

参数

year 年份

返回

{
	"result": 1,
	"code": 0,
	"msg": "成功",
	"data": {
		"sum": {                   // 这个 sum 是统计全部的,并不只是这一年的
			"distance": 155898,
			"duration": 78468,
			"times": 30,
			"km_duration": 503
		},
		"records": [
			{
				"month": 2,
				"distance": 45231,
				"duration": 24095,
				"km_duration": 532,
				"records": [
					{
						"id": 100,
						"distance": 10157,
						"duration": 5812,
						"begin": "2021-02-20 04:00:00",
						"end": "2021-02-20 05:36:52",
						"km_duration": 572
					}
				]
			}
		]
	}