文档
测试

Y登录状态更新地址

POST
http://localhost:8888/rlg/shipping/updateOne

请求参数

参数名
类型
描述
必填
receiverName
String
用户名
必填
receiverPhone
String
收货姓名
必填
receiverMobile
String
收货固定电话
必填
receiverProvince
String
收货移动电话
必填
receiverCity
String
省份
必填
receiverAddress
String
区/县
必填
receiverDistrict
String
城市
必填
receiverZip
String
详细地址
必填
sid
Integer
地址id
必填

响应参数

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

成功的示例

{ "code": 200, "data": { "records": [ { "id": 31, "user_id": null, "receiverName": "李雪", "receiverPhone": "1", "receiverMobile": "1", "receiverProvince": "1", "receiverCity": "甘肃天水", "receiverDistrict": "1", "receiverAddress": "1", "receiverZip": "2", "type": 1 } ], "total": 1, "size": 10, "current": 1, "orders": [], "optimizeCountSql": true, "hitCount": false, "countId": null, "maxLimit": null, "searchCount": true, "pages": 1 } }

失败的示例

{ "code": 403, "msg": "更新收货地址失败" }