简要描述:
接口版本:
版本号 |
制定人 |
制定日期 |
修订日期 |
1.0.0 |
孙程 |
2019-06-26 |
|
1.0.1 |
孙程 |
|
2019-07-03 |
请求URL:
请求方式:
请求头:
参数名 |
是否必须 |
类型 |
说明 |
Content-Type |
|
|
|
Content-MD5 |
|
|
|
请求参数:
参数名 |
是否必须 |
类型 |
说明 |
op |
是 |
string |
操作:show 显示编辑的地址信息 |
id |
是 |
int |
收货人地址id |
参数名 |
是否必须 |
类型 |
说明 |
id |
是 |
int |
收货人地址id |
op |
是 |
string |
操作:save 保存编辑的地址 |
country |
是 |
int |
国家id |
province |
否 |
int |
省id |
city |
否 |
int |
市id |
borough |
否 |
int |
区id |
address |
是 |
string |
详细地址 |
zip |
否 |
string |
邮编 |
mobile |
是 |
string |
手机号 |
receiver |
是 |
string |
收件人 |
remark |
否 |
string |
备注 |
返回示例:
正确时返回(例子):
{
"msg": "Edit address successful",
"code": 200,
"icon": 1,
"time": 2000,
"data": {
"id": "15",
"op": "save",
"country": "764756",
"province": null,
"city": null,
"borough": null,
"address": "sdjfgdjghdjghdjghj",
"zip": null,
"mobile": "54654657",
"receiver": "shdf"
}
}
错误时返回:
"msg": "请求失败",
"code": 400,
"icon": 2,
"time": 2000,
"data": {}
返回参数说明:
备注:
文档更新时间: 2019-07-15 19:52 作者:jetsamsun