简要描述:

获取测肤记录

请求域名:

  • http://xx.com

请求URL:

POST/plugin.skin-check.admin.check-report.check-detail

参数:

参数名 是否必须 类型 说明
report_id] int 测试报告id

返回参数data说明:

参数名 类型 说明
id int 检测报告id
check_img string 检测图片(相对地址)
check_img_src string 检测图片(绝对地址)
check_count int 检测次数
composite_score int 得分
report_detail.report_id int 检测报告id
report_detail.target_id int 标签id
report_detail.value string 检测结果值
report_detail.value_desc string 检测结果描述(空的话显示value)
report_detail.target.target_name string 指标名称
member.uid int 会员id
member.nickname string 昵称
member.avatar string 头像

返回示例:

正确时返回的数据:

{
	"result": 1,
	"msg": "ok",
	"data": {
		"id": 1,
		"check_img": "images/1/2020/10/h2C3yjbyLe2Ev1J1V3gbF5gOlLvZJb.jpg",
		"composite_score": 84,
		"member_id": 164932,
		"check_img_src": "http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/images/1/2020/10/h2C3yjbyLe2Ev1J1V3gbF5gOlLvZJb.jpg",
		"report_detail": [
			{
				"id": 1,
				"report_id": 1,
				"target_id": 1,
				"value": "23",
				"value_desc": "",
				"target": {
					"id": 1,
					"target_name": "肤龄"
				}
			},
			{
				"id": 2,
				"report_id": 1,
				"target_id": 2,
				"value": "5",
				"value_desc": "暗沉",
				"target": {
					"id": 2,
					"target_name": "肤色"
				}
			},
			{
				"id": 3,
				"report_id": 1,
				"target_id": 3,
				"value": "3",
				"value_desc": "混合性皮肤",
				"target": {
					"id": 3,
					"target_name": "肤质"
				}
			},
			{
				"id": 4,
				"report_id": 1,
				"target_id": 4,
				"value": "0",
				"value_desc": "无",
				"target": {
					"id": 4,
					"target_name": "毛孔粗大"
				}
			},
			{
				"id": 5,
				"report_id": 1,
				"target_id": 5,
				"value": "1",
				"value_desc": "轻度",
				"target": {
					"id": 5,
					"target_name": "黑头"
				}
			},
			{
				"id": 6,
				"report_id": 1,
				"target_id": 6,
				"value": "1",
				"value_desc": "轻度",
				"target": {
					"id": 6,
					"target_name": "痘痘"
				}
			},
			{
				"id": 7,
				"report_id": 1,
				"target_id": 7,
				"value": "2",
				"value_desc": "中度",
				"target": {
					"id": 7,
					"target_name": "痘印"
				}
			},
			{
				"id": 8,
				"report_id": 1,
				"target_id": 8,
				"value": "1",
				"value_desc": "轻度",
				"target": {
					"id": 8,
					"target_name": "痣"
				}
			},
			{
				"id": 9,
				"report_id": 1,
				"target_id": 9,
				"value": "1",
				"value_desc": "轻度",
				"target": {
					"id": 9,
					"target_name": "色斑"
				}
			},
			{
				"id": 10,
				"report_id": 1,
				"target_id": 10,
				"value": "0",
				"value_desc": "无",
				"target": {
					"id": 10,
					"target_name": "黑眼圈"
				}
			},
			{
				"id": 11,
				"report_id": 1,
				"target_id": 11,
				"value": "0",
				"value_desc": "无",
				"target": {
					"id": 11,
					"target_name": "皱纹"
				}
			},
			{
				"id": 12,
				"report_id": 1,
				"target_id": 12,
				"value": "0",
				"value_desc": "无",
				"target": {
					"id": 12,
					"target_name": "抬头纹"
				}
			},
			{
				"id": 13,
				"report_id": 1,
				"target_id": 13,
				"value": "0",
				"value_desc": "无",
				"target": {
					"id": 13,
					"target_name": "鱼尾纹"
				}
			},
			{
				"id": 14,
				"report_id": 1,
				"target_id": 14,
				"value": "0",
				"value_desc": "无",
				"target": {
					"id": 14,
					"target_name": "细纹"
				}
			},
			{
				"id": 15,
				"report_id": 1,
				"target_id": 15,
				"value": "0",
				"value_desc": "无",
				"target": {
					"id": 15,
					"target_name": "眼纹"
				}
			},
			{
				"id": 16,
				"report_id": 1,
				"target_id": 16,
				"value": "0",
				"value_desc": "无",
				"target": {
					"id": 16,
					"target_name": "法令纹"
				}
			}
		],
		"member": {
			"uid": 164932,
			"nickname": "A李李李",
			"avatar": "http://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTIyz11G1bdMA4kgjxzrbd4GCZDUpK16Pib8Iq9qjdm7UOgJgVDtQtjybWhWGCgopiaPUXlKDCQfj7xg/132",
			"avatar_image": "https://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTIyz11G1bdMA4kgjxzrbd4GCZDUpK16Pib8Iq9qjdm7UOgJgVDtQtjybWhWGCgopiaPUXlKDCQfj7xg/132",
			"username": "A李李李"
		}
	}
}

错误时返回:

备注:

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