文档
测试

修改地址

POST
http://localhost:8888/rlg/address/update

接口描述

修改地址

请求参数

参数名
类型
描述
必填
receiverName
String
收货姓名
必填
receiverPhone
String
收货固定电话
必填
receiverMobile
String
收货移动电话
必填
receiverProvince
String
省份
必填
receiverCity
String
城市
必填
receiverDistrict
String
区/县
必填
receiverAddress
String
详细地址
必填
receiverZip
String
邮编
必填
type
String
默认
必填

响应参数

参数名
类型
描述
必填
coda
Integer
接口请求状态吗
必填
message
String
接口请求返回信息
可选
data
接口请求返回数据
可选

成功示例

{ "status": 200, "data": { "records": [ { "id": 11, "userId": 36, "receiverName": "my", "receiverPhone": "2", "receiverMobile": "2", "receiverProvince": "2", "receiverCity": "2", "receiverDistrict": "2", "receiverAddress": "2", "receiverZip": "2", "type": 1 } ], "total": 1, "size": 10, "current": 1, "orders": [], "optimizeCountSql": true, "hitCount": false, "countId": null, "maxLimit": null, "searchCount": true, "pages": 1 } }

失败案例

{ "status": 403, "msg": "修改地址失败" }