~~~[api]
post:/user/addOrUpdateAddress
string:addressId#地址id,修改时必传
*string:userId#用户id
*string:name#收货人姓名
*string:tel#收货人电话
*string:province#省
*string:city#市
*string:district#区
*string:address#地址
*isDefault#默认地址:1-是,0-否
<<<
success
{
"code": "00000",
"data": {
"memberAddress": {
"addressId": 1, 地址id
"userId": 1, 用户id
"name": "二丫", 收货人名称
"tel": "15868167114", 收货人电话
"province": "浙江省", 省
"city": "杭州市", 市
"district": "滨江区", 区
"address": "华业大厦", 地址
"lng": "120.187294", 经度
"lat": "30.194157", 纬度
"isDefault": "1",
"createTime": "2021-01-14 10:56:03",
"updateTime": "2021-01-14 10:56:03",
"delFlg": "0"
}
},
"onceToken": "",
"info": "新增成功"
}
<<<
error
~~~