简要描述:
接口版本:
| 版本号 |
制定人 |
制定日期 |
修订日期 |
| 1.0.0 |
孙程 |
2019-06-04 |
|
请求URL:
请求方式:
请求头:
| 参数名 |
是否必须 |
类型 |
说明 |
| Content-Type |
|
|
|
| Content-MD5 |
|
|
|
请求参数:
| 参数名 |
是否必须 |
类型 |
说明 |
| uid |
是 |
int |
用户id |
返回示例:
正确时返回(例子):
{
"errorcode": 0,
"msg": "请求成功",
"cart_number": {
"items": 2,
"pieces": "3"
}
}
{
"errorcode": 0,
"msg": "请求成功",
"cart_number": {
"items": 2,
"pieces": "3"
}
}
错误时返回:
{
"errcode": -1,
"msg": "请求失败"
}
返回参数说明:
| 参数名 |
类型 |
说明 |
| cart_number |
int |
购物车数量,cart_number接口的 |
| items |
int |
购物车数量 |
| pieces |
int |
件数 |
错误代码:
| 参数名 |
说明 |
| 201 |
请求方式错误 |
| 202 |
缺少uid参数 |
文档更新时间: 2019-07-15 19:49 作者:jetsamsun