简要描述:

获取测肤记录

请求域名:

  • http://xx.com

请求URL:

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

参数:

参数名 是否必须 类型 说明
search[member_id] int 会员id
search[member] string 昵称/手机号/姓名
search[sort] string 排序规则:3最高得分,4测试时间
search[skinType] string 肤质
search[skinColor] string 肤色
search[skinBlackHeadsDesc] string 黑头
search[skinPimpleDesc] string 痘痘
search[skinSpotDesc] string 色斑
search[skinPandaEye] string 黑眼圈
search[skinWrinkle] string 皱纹
search[skinMoleDesc] string

返回参数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": {
		"total": 2,
		"per_page": 20,
		"current_page": 1,
		"last_page": 1,
		"next_page_url": null,
		"prev_page_url": null,
		"from": 1,
		"to": 2,
		"data": [
			{
				"id": 2,
				"check_img": "images/1/2020/10/h2C3yjbyLe2Ev1J1V3gbF5gOlLvZJb.jpg",
				"member_id": 164932,
				"composite_score": 84,
				"check_count": 2,
				"check_img_src": "http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/images/1/2020/10/h2C3yjbyLe2Ev1J1V3gbF5gOlLvZJb.jpg",
				"report_detail": [
					{
						"id": 17,
						"report_id": 2,
						"target_id": 1,
						"value": "23",
						"value_desc": "",
						"target": {
							"id": 1,
							"target_name": "肤龄"
						}
					},
					{
						"id": 18,
						"report_id": 2,
						"target_id": 2,
						"value": "5",
						"value_desc": "暗沉",
						"target": {
							"id": 2,
							"target_name": "肤色"
						}
					},
					{
						"id": 19,
						"report_id": 2,
						"target_id": 3,
						"value": "3",
						"value_desc": "混合性皮肤",
						"target": {
							"id": 3,
							"target_name": "肤质"
						}
					},
					{
						"id": 20,
						"report_id": 2,
						"target_id": 4,
						"value": "0",
						"value_desc": "无",
						"target": {
							"id": 4,
							"target_name": "毛孔粗大"
						}
					},
					{
						"id": 21,
						"report_id": 2,
						"target_id": 5,
						"value": "1",
						"value_desc": "轻度",
						"target": {
							"id": 5,
							"target_name": "黑头"
						}
					},
					{
						"id": 22,
						"report_id": 2,
						"target_id": 6,
						"value": "1",
						"value_desc": "轻度",
						"target": {
							"id": 6,
							"target_name": "痘痘"
						}
					},
					{
						"id": 23,
						"report_id": 2,
						"target_id": 7,
						"value": "2",
						"value_desc": "中度",
						"target": {
							"id": 7,
							"target_name": "痘印"
						}
					},
					{
						"id": 24,
						"report_id": 2,
						"target_id": 8,
						"value": "1",
						"value_desc": "轻度",
						"target": {
							"id": 8,
							"target_name": "痣"
						}
					},
					{
						"id": 25,
						"report_id": 2,
						"target_id": 9,
						"value": "1",
						"value_desc": "轻度",
						"target": {
							"id": 9,
							"target_name": "色斑"
						}
					},
					{
						"id": 26,
						"report_id": 2,
						"target_id": 10,
						"value": "0",
						"value_desc": "无",
						"target": {
							"id": 10,
							"target_name": "黑眼圈"
						}
					},
					{
						"id": 27,
						"report_id": 2,
						"target_id": 11,
						"value": "0",
						"value_desc": "无",
						"target": {
							"id": 11,
							"target_name": "皱纹"
						}
					},
					{
						"id": 28,
						"report_id": 2,
						"target_id": 12,
						"value": "0",
						"value_desc": "无",
						"target": {
							"id": 12,
							"target_name": "抬头纹"
						}
					},
					{
						"id": 29,
						"report_id": 2,
						"target_id": 13,
						"value": "0",
						"value_desc": "无",
						"target": {
							"id": 13,
							"target_name": "鱼尾纹"
						}
					},
					{
						"id": 30,
						"report_id": 2,
						"target_id": 14,
						"value": "0",
						"value_desc": "无",
						"target": {
							"id": 14,
							"target_name": "细纹"
						}
					},
					{
						"id": 31,
						"report_id": 2,
						"target_id": 15,
						"value": "0",
						"value_desc": "无",
						"target": {
							"id": 15,
							"target_name": "眼纹"
						}
					},
					{
						"id": 32,
						"report_id": 2,
						"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李李李"
				}
			},
			{
				"id": 1,
				"check_img": "images/1/2020/10/h2C3yjbyLe2Ev1J1V3gbF5gOlLvZJb.jpg",
				"member_id": 164932,
				"composite_score": 84,
				"check_count": 2,
				"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李李李"
				}
			}
		]
	}
}

错误时返回:

备注:

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