文档
测试

订单列表接口

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

接口描述

POST提交

请求参数

参数名
类型
描述
必填
action
string
user.mall.order.list
必填
type
string
客户端类型 Web,App,Wechat
必填
mobile
string
手机号
必填
data
array
数组
必填
page
int
第几页,默认1
必填
rows
int
每页多少条,默认10
必填
timestamp
int
时间戳
必填
sort
string
排序,不填默认id倒序
可选
order
string
asc或desc,不填默认desc
可选
product_type_id
string
订单商品分类
可选
type
string
订单类型,specification:普通订单;group:拼团订单;不填默认specification
可选
payment_status
string
支付状态,pay:已支付,unpay:待支付,refund:退款;cancel:取消;传空为全部
可选
product_name
string
订单商品名称查询
可选

响应参数

参数名
类型
描述
必填
result
int
1:成功 0:失败
必填
msg
string
result为0时固有出错信息
必填
timestamp
int
时间戳
必填
data
array
订单数组
必填
product_name
string
商品名称
必填
pic_path
string
默认显示图片
必填
relation_name
string
规格名称
必填
relation_price
double
规格单价
必填
num
int
购买数量
必填
should_income
double
应收(规格单价*购买数量-折扣-优惠券-邮费-分期手续费后的价格)
必填
real_income
double
实收(银行付款后的价格)
必填
payment_status
string
pay:已支付,unpay:未支付,refund:退款 cancel:取消
必填
expired_status
string
0显付款按钮 1不显示付款按钮
必填
pay_name
string
支付方式
必填
add_time
int
下单时间
必填
logistics
int
0不显示物流 1显示物流
必填
total
int
搜索总条数
必填
page
int
第几页
必填
rows
int
每页多少条
必填

说明 / 示例

请看加密说明