订单-添加收货地址
POST
/patient/order/address请求参数
Header 参数
Content-Type
string
必需
示例值:
application/json
authorization
string
可选
示例值:
{{Btoken}}
Body 参数application/json
receiver
string
收货人姓名
默认值:
测试
mobile
string
联系方式
provinceCode
string
所在省份编码
cityCode
string
所在城市编码
countyCode
string
必需
addressDetail
string
详细地址
isDefault
integer
必需
是否为默认,1为是,0为否
示例
{
"receiver": "测试",
"mobile": "string",
"provinceCode": "string",
"cityCode": "string",
"countyCode": "string",
"addressDetail": "string",
"isDefault": 0
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
success
boolean
请求成功标志
code
number
可选
请求成功10000标志
message
string
请求成功
data
object
返回数据
id
string
地址的id
示例
{
"success": true,
"code": 0,
"message": "string",
"data": {
"id": "string"
}
}
最后修改时间: 10 个月前