- 商城管理
- 用户注册
- 用户信息
- 用户开户
- 用户等级
- 用户充值
- 客服中心
- 用户提现
- 用户商品
- 用户订单
- 店铺信息
- 工作日志
- 脚本任务
- 上传图片
用户订单信息
开发中
开发环境
开发环境
GET
/api/User/order_info
请求参数
Query 参数
id
integer
订单ID
示例值:
1
token
string
token
默认值:
ecdb1002daa7fc6720db57a540264fb4
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://172.24.66.61/aimall/public/api/User/order_info?id=1&token='
返回响应
🟢200成功
application/json
Body
code
integer
必需
msg
string
必需
data
object
必需
id
integer
订单ID
sn
string
订单sn
mall
string
商城(订单来源)
user_id
integer
用户ID
product_id
integer
必需
consignee
string
收货人
mobile
string
手机号
province
string
省
city
string
市
district
string
区
city_id
string
城市ID
address
string
收货地址
total
string
商品总额:$
freight
string
运费:$
balance
string
支付余额:$
amount
string
必需
remarks
string
备注
status
integer
必需
create_day
string
下单日期
create_time
integer
下单时间
pay_time
integer
支付时间
send_time
integer
发货时间
accept_time
integer
必需
finish_time
integer
完成时间
cancel_time
integer
必需
refund_time
integer
必需
express_com
string
快递公司
express_sn
string
快递单号
merchant_notes
string
必需
trade_no
string
必需
is_delete
integer
必需
is_minutes
integer
必需
create_time2
string
必需
pay_time2
string
必需
send_time2
string
必需
finish_time2
string
必需
list
array [object {12}]
订单商品信息
is_user
integer
必需
order_profit
null
必需
示例
{
"code": 200,
"msg": "订单信息",
"data": {
"id": 204,
"sn": "20250306153153104587",
"mall": "TikTok",
"user_id": 10,
"product_id": 4,
"consignee": "田小姐",
"mobile": "12345678901",
"province": "北京市",
"city": "北京市",
"district": "东城区",
"city_id": "110101",
"address": "北京市区",
"total": "32.00",
"freight": "0.00",
"balance": "32",
"amount": "32.00",
"remarks": "",
"status": 2,
"create_day": "2025-03-06",
"create_time": 1741246313,
"pay_time": 1741250896,
"send_time": 1741443598,
"accept_time": 0,
"finish_time": 0,
"cancel_time": 0,
"refund_time": 0,
"express_com": "",
"express_sn": "",
"merchant_notes": "",
"trade_no": "",
"is_delete": 0,
"is_minutes": 1,
"create_time2": "2025-03-06 15:31:53",
"pay_time2": "2025-03-06 16:48:16",
"send_time2": "2025-03-08 22:19:58",
"finish_time2": "",
"list": [
{
"id": 203,
"order_id": 204,
"product_id": 4,
"no": "",
"name": "CRZ YOGA Butterluxe High Waisted Lounge Legging 25\" - Buttery Soft Workout Yoga Pants for Women",
"img": "http://172.24.66.61/aimall/public/uploads/product/fileClothing_Shoes_Jewelry_Watches_/61Isb40O6wL._AC_UL960_FMwebp_QL65_.jpg",
"spec": "",
"spec_value": "",
"price": "32.00",
"profit_price": "4.16",
"num": 1,
"after": null
}
],
"is_user": 1,
"order_profit": null
}
}
修改于 2025-03-26 12:27:40