文档
测试

添加修改收货地址接口

POST
https://api.leadnew.com.cn/index.php/centeruser/index.html

接口描述

POST提交

请求参数

参数名
类型
描述
必填
action
string
user.update.receive.address
必填
type
string
客户端类型 Web,App,Wechat
必填
mobile
string
手机号
必填
data
array
数组
必填
id
string
如果是修改填写数据id,添加数据去掉此字段
必填
name
string
收货人
必填
mobile
string
收货人手机号
必填
province
string
所在省份
必填
city
string
所在城市
必填
area
string
所在区域
必填
address
string
具体地址
必填
default_address
string
默认收货地址
必填
timestamp
string
时间戳
必填
province_id
int
mall平台省市区接口省份id
必填
city_id
int
mall平台省市区接口城市id
必填
area_id
int
mall平台省市区接口区域id
必填

响应参数

参数名
类型
描述
必填
result
int
1:成功 0:失败
必填
msg
string
result为0时固有出错信息
必填
timestamp
int
时间戳
必填
data
array
数组
必填
id
int
地址数据主键
必填
uid
int
用户id
必填
name
string
收货人
必填
mobile
string
收货人电话
必填
province
string
省名称
必填
city
string
市名称
必填
area
string
区名称
必填
address
string
详细地址
必填
default
int
是否默认,0否 1是
必填
province_id
int
省数据id
必填
city_id
int
市数据id
必填
area_id
int
区数据id
必填

说明 / 示例

请看加密说明