- 首页
- 登录
- 购物车
- 地址管理
- 订单
- 个人信息
- 搜索商品POST
- 猜你喜欢GET
- 详情-获取详情信息GET
- 支付-支付宝web支付GET
- 分类-获取二级分类内容GET
- 评价-获取评价列表GET
订单-获取结算信息
开发中
GET
/member/order/pre
请求参数
Header 参数
Authorization
string
可选
示例值:
Bearer {{token}}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://meikou-api.itheima.net/member/order/pre' \
--header 'Authorization: Bearer {{token}}'
返回响应
🟢200成功
application/json
Body
code
string
必需
msg
string
必需
result
object
必需
userAddresses
array [object {11}]
必需
goods
array [object {10}]
必需
summary
object
必需
示例
{
"code": "string",
"msg": "string",
"result": {
"userAddresses": [
{
"id": "string",
"receiver": "string",
"contact": "string",
"provinceCode": "string",
"cityCode": "string",
"countyCode": "string",
"address": "string",
"isDefault": 0,
"fullLocation": "string",
"postalCode": "string",
"addressTags": "string"
}
],
"goods": [
{
"id": "string",
"name": "string",
"picture": "string",
"count": 0,
"skuId": "string",
"attrsText": "string",
"price": "string",
"payPrice": "string",
"totalPrice": "string",
"totalPayPrice": "string"
}
],
"summary": {
"goodsCount": 0,
"totalPrice": 0,
"totalPayPrice": 0,
"postFee": 0,
"discountPrice": 0
}
}
}
修改于 2024-09-01 10:16:12