文档
测试

地址簿查询

GET
https://test.yxshare.top:9090/locationinfo/querylocation

响应参数

参数名
类型
描述
必填
ret
int
示例:0
必填
data
object
数据字典
必填
locationInfoList
array
数据列表
必填
id
int
id
必填
cust_id
int
用户id
必填
location_type
string
地址类型 0收件 1寄件
必填
location
string
地址详细地址
必填
location_call
string
称呼
必填
location_mobile
string
手机号
必填
add_type
string
增加类型
必填
add_time
int
增加时间
必填
status
string
状态 1为可用 2为不可用
必填
recently_time
object
最近使用时机
必填
default_address
string
是否默认地址默认状态 0默认 1不默认
必填
longitude
object
经度
必填
latitude
object
纬度
必填
province
string
省份
必填
city
string
城市
必填
county
string
区域
必填
street
string
街道
必填
msg
string
示例:请求正常
必填
code
string
示例:200
必填
list
object
示例:null
必填

说明 / 示例

返回参数 { "ret": 0, "data": { "locationInfoList": [ { "id": 2, "cust_id": 440, "location_type": "0", "location": "前海基", "location_call": "牛s逼", "location_mobile": "15986607495", "add_type": "0", "add_time": 1616987981000, "status": "1", "recently_time": null, "default_address": "1", "longitude": null, "latitude": null, "province": "广东省", "city": "深圳市", "county": "南山区", "street": "创业六路" } ] }, "msg": "请求正常", "code": "200", "list": null }