文档
测试

服务列表

GET
/api/web/services

接口描述

获取服务选项数据接口

请求头

参数名
类型
描述
必填
Accept
string
请求http报头 application/[接口环境].[接口名称].v[接口版本]+json
可选

响应参数

参数名
类型
描述
必填
code
number
响应编号
必填
msg
string
文本提示信息
必填
data
object
数据字典
必填
apps
array
服务应用数据
必填
id
number
服务编号
必填
title
string
名称
必填
label
string
标识
必填
description
string
描述
必填
unit_types
array
设备类型数据
必填
label
string
设备标识
必填
title
string
设备名称
必填
service_types
array
服务类型数据
必填
label
string
服务标识
必填
title
string
服务名称
必填

说明 / 示例

``` { "code": 0, "msg": "", "data": { "apps": [ { "id": 1, "title": "微信记录恢复", "label": "wx-discovery", "description": "图片不存在|图片打不开|无响应图片" }, { "id": 3, "title": "语音恢复", "label": "voice", "description": "图片不存在|图片打不开|无响应图片" }, { "id": 7, "title": "测试", "label": "test", "description": "测试|cs|cs|sc" }, { "id": 2, "title": "图片恢复", "label": "picture", "description": "图片不存在|图片打不开|无响应图片" }, { "id": 4, "title": "视频恢复", "label": "video", "description": "图片不存在|图片打不开|无响应图片" }, { "id": 5, "title": "附件恢复", "label": "file", "description": "图片不存在|图片打不开|无响应图片" }, { "id": 6, "title": "好友恢复", "label": "friend", "description": "图片不存在|图片打不开|无响应图片" } ], "unit_types": [ { "label": "ios", "title": "IOS设备" }, { "label": "win", "title": "Window设备" }, { "label": "other", "title": "其它" }, { "label": "android", "title": "Android设备" } ], "service_types": [ { "label": "line", "title": "排队预约服务" }, { "label": "urgency", "title": "加急服务" }, { "label": "consultation", "title": "咨询服务" } ] } } ```