文档
测试

我的订单

POST
http://yun-pay.hs499.com/app/localLife/myOrder/list

请求头

参数名
类型
描述
必填
sign
String
验证签名,防止参数篡改,测试可以不填
必填

请求参数

参数名
类型
描述
必填
user_id
String
用户ID
必填
order_status
String
订单状态: -1:全部 0待支付 1支付成功 默认-1
必填
page
int
页数,默认1
必填
limit
int
条数,默认10
必填

响应参数

参数名
类型
描述
必填
code
number
示例:0 成功 -1 失败
必填
errors
object
数据字典
必填
msg
string
示例:操作成功
必填
result
object
数据字典
必填
order_list
list
订单列表
必填
product_id
string
产品ID
必填
product_img
string
产品图片
必填
product_name
string
产品名称
必填
num
int
购买数量
必填
order_total_amount
decimal
订单总额
必填
use_score
int
使用积分
必填
score_deduct_amount
decimal
积分抵扣金额
必填
order_no
string
订单编号
必填
store_name
string
商家姓名
必填
store_phone
string
商家电话
必填
real_pay_amount
decimal
实际付款金额
必填
order_pay_time
string
付款时间
必填
order_type
int
订单类型 1购买产品 2 在线买单
必填
order_status
int
0:待支付 1:已支付
必填

说明 / 示例

{ "code": 1, "errors": {}, "msg": "操作成功", "result": { "order_list": [ { "order_no": "202106101625271623313527519", "real_pay_amount": 1997, "score_deduct_amount": 3, "num": 0, "bill_no": "", "merchant_id": "043c7283dd3f4e7482f3298a98346e24", "order_time": "2021-06-10 16:25:27", "product_name": "", "product_img": "", "order_status": 0, "order_pay_time": "", "store_phone": "15122933022", "user_id": "00cf2bd018c143f9855878049796226f", "user_real_name": "胡林", "use_score": 300, "user_phone": "18684761820", "store_name": "汉堡王", "pay_type": 1, "order_time_stamp": 1623313527519, "id": "f9f75f8efa3b4d38877502ca4514bfd7", "order_type": 2, "order_total_amount": 2000, "order_pay_time_stamp": 0 }, { "order_no": "202106101613511623312832243", "real_pay_amount": 997, "score_deduct_amount": 3, "num": 0, "bill_no": "", "merchant_id": "043c7283dd3f4e7482f3298a98346e24", "order_time": "2021-06-10 16:13:51", "product_name": "", "product_img": "", "order_status": 0, "order_pay_time": "", "store_phone": "15122933022", "user_id": "00cf2bd018c143f9855878049796226f", "user_real_name": "胡林", "use_score": 300, "user_phone": "18684761820", "store_name": "汉堡王", "pay_type": 1, "order_time_stamp": 1623312831828, "id": "1cca98ac042b45148797a19045f0eb8f", "order_type": 2, "order_total_amount": 1000, "order_pay_time_stamp": 0 } ] } }