对接说明
开发信息
https://test.api.yc-client.anestcang.com
https://api.yc-client.anestcang.com
yc_u8VtWSYfwX4SCDeHsIcndKm7c
APUR2io8WqhhhUysbilo4E0yeUcC
请求说明
Authorization : Bearer 980|t7yNjmZK4F73dyHB0Rk1tL9KJZ6Abncl4n5nGOF8
数据返回结构
1.
{
"state": "000001",
"msg": "注销成功",
"data": []
}
2.
{
"state": "000001",
"msg": "请求成功",
"data": {
"list": [
{
"id": 5,
"channelName": "LGS-挂号",
"channelCode": "Y7002S",
"status": 1,
"labelSize": 1,
"maxWeigh": 1000,
"channelType": 1,
"platformCode": [
"SE"
]
}
],
"total": 19,
"page": 1,
"prePage": 10
}
}
状态码
状态码 | 描述 |
---|---|
000001 | 成功 |
000400 | 请求失败,详细见描述(msg) |
000401 | 鉴权失败 (token已过期或者token无效) |
000403 | 无权限访问 |
000405 | 请求方法不允许 |
000422 | 请求数据异常 |
000429 | 请求太频繁 |
000500 | 程序内部错误 |
011xxx | 订单相关 |
012xxx | 入库相关 |
013xxx | 商品相关 |
014xxx | 换单相关 |
015xxx | 退货相关 |