文档
测试

添加地址

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

接口描述

添加一个用户地址

请求参数

参数名
类型
描述
必填
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": 5, "userId": 36, "receiverName": "zhangsan", "receiverPhone": "010", "receiverMobile": "18688888888", "receiverProvince": "北京", "receiverCity": "北京市", "receiverDistrict": null, "receiverAddress": "中关村", "receiverZip": "100000", "type": 1 }, { "id": 6, "userId": 36, "receiverName": "wmy", "receiverPhone": "1", "receiverMobile": "1", "receiverProvince": "1", "receiverCity": "1", "receiverDistrict": "1", "receiverAddress": "1", "receiverZip": "1", "type": null }, { "id": 7, "userId": 36, "receiverName": "wmy", "receiverPhone": "1", "receiverMobile": "1", "receiverProvince": "1", "receiverCity": "1", "receiverDistrict": "1", "receiverAddress": "1", "receiverZip": "1", "type": null }, { "id": 8, "userId": 36, "receiverName": "wmy", "receiverPhone": "1", "receiverMobile": "1", "receiverProvince": "1", "receiverCity": "1", "receiverDistrict": "1", "receiverAddress": "1", "receiverZip": "1", "type": null }, { "id": 10, "userId": 36, "receiverName": "wmy", "receiverPhone": "1", "receiverMobile": "1", "receiverProvince": "1", "receiverCity": "1", "receiverDistrict": "1", "receiverAddress": "1", "receiverZip": "1", "type": null } ], "total": 5, "size": 10, "current": 1, "orders": [], "optimizeCountSql": true, "hitCount": false, "countId": null, "maxLimit": null, "searchCount": true, "pages": 1 } }