优特云
[ { "name": "首页", "url": "http://www.utyun.com/", "target": "0", "child": [] }, { "name": "活动", "url": "https://pre-mobile.utyun.com/page-design/?__UT_TITLE__=%E4%BC%98%E7%89%B9%E4%BA%91%E7%A7%91%E6%8A%80-%E4%BA%91%E6%9C%8D%E5%8A%A1%E8%A7%A3%E5%86%B3%E6%96%B9%E6%A1%88%E5%AE%9A%E5%88%B6%E5%95%86#/8412299005246101317/events", "target": "0", "child": [] }, { "name": "产品", "url": "https://pre-mobile.utyun.com/page-design/?__UT_TITLE__=%E4%BC%98%E7%89%B9%E4%BA%91%E7%A7%91%E6%8A%80-%E4%BA%91%E6%9C%8D%E5%8A%A1%E8%A7%A3%E5%86%B3%E6%96%B9%E6%A1%88%E5%AE%9A%E5%88%B6%E5%95%86#/8412299005246101317/products", "target": "0", "child": [] }, { "name": "关于优特云", "url": "https://pre-mobile.utyun.com/page-design/?__UT_TITLE__=%E4%BC%98%E7%89%B9%E4%BA%91%E7%A7%91%E6%8A%80-%E4%BA%91%E6%9C%8D%E5%8A%A1%E8%A7%A3%E5%86%B3%E6%96%B9%E6%A1%88%E5%AE%9A%E5%88%B6%E5%95%86#/8412299005246101317/about", "target": "0", "child": [] } ]
V1.03.00
账户服务(account)-用户地址管理(外部)

伟 最后一次编辑

接近 5 年前 115

账户服务(account)-用户地址管理(外部)

添加一条用户地址信息

基本信息

Path: /account/userAddr/create

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
area string 必须
contact_addr string 必须 联系地址
contact_phone string 必须 联系电话
province string 必须
city string 必须
position string 非必须 位置经纬度
is_default string 必须 是否为默认地址(Y表示是N表示否)
contact_man string 必须 联系人

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object 必须
├─ id string 必须 购物车ID

更新某条用户地址

基本信息

Path: /account/userAddr/update

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
area string 必须
contact_addr string 必须 联系地址
contact_phone string 必须 联系电话
province string 必须
city string 必须
id string 非必须 地址ID
position string 必须 位置经纬度
is_default string 必须 是否为默认地址(Y表示是N表示否)
contact_man string 必须 联系人

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object 非必须

设置某条用户地址为默认地址

基本信息

Path: /account/userAddr/setDefaultAddr

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
id string 必须 地址ID

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object 非必须

删除某条用户地址

基本信息

Path: /account/userAddr/delete

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
id string 必须 地址ID

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object 非必须

获取某条用户地址详情

基本信息

Path: /account/userAddr/getDetail

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
id string 必须 地址ID

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object 必须
├─ area string 必须
├─ contact_addr string 必须 联系地址
├─ contact_phone string 必须 联系电话
├─ province string 必须
├─ city string 必须
├─ id string 非必须 地址ID
├─ position string 必须 位置经纬度
├─ is_default string 必须 是否为默认地址(Y表示是N表示否)
├─ contact_man string 必须 联系人

获取用户的默认地址

基本信息

Path: /account/userAddr/getDefaultAddress

Method: GET

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
string 非必须 format: binary

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object 必须
├─ area string 必须
├─ contact_addr string 必须 联系地址
├─ contact_phone string 必须 联系电话
├─ province string 必须
├─ city string 必须
├─ id string 非必须 地址ID
├─ position string 必须 位置经纬度
├─ is_default string 必须 是否为默认地址(Y表示是N表示否)
├─ contact_man string 必须 联系人

查询用户地址列表

基本信息

Path: /account/userAddr/find

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
pageno integer 必须 当前页数 format: int32
pagesize integer 必须 每页的记录数 format: int32

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object [] 必须 响应数据 item 类型: object
├─ area string 必须
├─ contact_addr string 必须 联系地址
├─ contact_phone string 必须 联系电话
├─ province string 必须
├─ city string 必须
├─ id string 非必须 地址ID
├─ position string 必须 位置经纬度
├─ is_default string 必须 是否为默认地址(Y表示是N表示否)
├─ contact_man string 必须 联系人
page object 非必须
├─ total integer 非必须 format: int64
├─ records integer 非必须 format: int64
├─ pageno integer 非必须 format: int32
├─ pagesize integer 非必须 format: int32

账户服务(account)-用户搜索历史

创建一条用户搜索记录

基本信息

Path: /account/queryKeywords/create

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
keywords string 必须 关键词
app_id string 必须 应用ID

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object 必须
├─ id string 必须 记录ID

清除历史记录

基本信息

Path: /account/queryKeywords/clearAll

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
app_id string 必须 应用ID

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object 非必须

查询最近指定条数的搜索记录

基本信息

Path: /account/queryKeywords/getLatest

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
名称 类型 是否必须 默认值 备注 其他信息
pagesize integer 必须 记录数量 format: int32
app_id string 必须 应用ID

返回数据

名称 类型 是否必须 默认值 备注 其他信息
msg string 必须 响应信息
code integer 必须 响应状态码 format: int32
data object [] 必须 响应数据 item 类型: object
├─ update_time string 必须 搜索记录更新时间 format: date-time
├─ create_time string 必须 搜索记录创建时间 format: date-time
├─ keywords string 必须 关键词
├─ is_del string 必须 是否标记为删除
├─ id string 必须 搜索记录ID
├─ app_id string 必须 应用ID

优特云