~~~[api:agentAuth]
get:/agent/Orders/index
int:user_id#下线用户ID
int:funds#垫付方式 0代理 1个人
int:product_id#方案ID
date:create_time#时间 YYYY-MM-DD
int:money_status#返佣状态 0未到账 1已到账
int:page=1#页码
<<<
success
{
"code": 0,
"msg": "获取成功",
"count": 6,
"data": [
{
"id": 42,
"user_id": 3,
"product_id": 2,
"funds": 1,
"price": "67.00",
"status": 0,
"update_time": "2021-02-03 11:36:16",
"create_time": "2021-02-03 11:36:16",
"product": {
"id": 2,
"name": "绿茶*1(数量5)"
},
"money": [
{
"id": 103,
"orders_id": 42,
"money": "1.00",
"update_time": "2021-02-03 11:36:16",
"type": 2,
"status": 0,
"type_text": "代理佣金",
"status_text": "未到账"
},
{
"id": 104,
"orders_id": 42,
"money": "67.00",
"update_time": "2021-02-03 11:36:16",
"type": 3,
"status": 0,
"type_text": "代理本金",
"status_text": "未到账"
}
],
"status_text": "待签收",
"funds_text": "个人"
},
{
"id": 41,
"user_id": 3,
"product_id": 2,
"funds": 0,
"price": "67.00",
"status": 0,
"update_time": "2021-02-03 09:48:05",
"create_time": "2021-02-03 09:48:05",
"product": {
"id": 2,
"name": "绿茶*1(数量5)"
},
"money": [
{
"id": 99,
"orders_id": 41,
"money": "1.00",
"update_time": "2021-02-03 09:48:05",
"type": 2,
"status": 0,
"type_text": "代理佣金",
"status_text": "未到账"
},
{
"id": 100,
"orders_id": 41,
"money": "67.00",
"update_time": "2021-02-03 09:48:05",
"type": 3,
"status": 0,
"type_text": "代理本金",
"status_text": "未到账"
}
],
"status_text": "待签收",
"funds_text": "代理商"
},
{
"id": 38,
"user_id": 3,
"product_id": 1,
"funds": 0,
"price": "139.00",
"status": 0,
"update_time": "2021-02-02 17:08:51",
"create_time": "2021-02-02 17:08:51",
"product": {
"id": 1,
"name": "爱他美3段白金版*1(数量1)"
},
"money": [
{
"id": 87,
"orders_id": 38,
"money": "1.00",
"update_time": "2021-02-02 17:08:51",
"type": 2,
"status": 0,
"type_text": "代理佣金",
"status_text": "未到账"
},
{
"id": 88,
"orders_id": 38,
"money": "139.00",
"update_time": "2021-02-02 17:08:51",
"type": 3,
"status": 0,
"type_text": "代理本金",
"status_text": "未到账"
}
],
"status_text": "待签收",
"funds_text": "代理商"
},
{
"id": 35,
"user_id": 2,
"product_id": 1,
"funds": 1,
"price": "139.00",
"status": 2,
"update_time": "2021-02-02 14:28:35",
"create_time": "2021-02-01 17:55:32",
"product": {
"id": 1,
"name": "爱他美3段白金版*1(数量1)"
},
"money": [
{
"id": 75,
"orders_id": 35,
"money": "1.00",
"update_time": "2021-02-02 10:43:41",
"type": 2,
"status": 1,
"type_text": "代理佣金",
"status_text": "已到账"
},
{
"id": 76,
"orders_id": 35,
"money": "139.00",
"update_time": "2021-02-02 10:43:49",
"type": 3,
"status": 1,
"type_text": "代理本金",
"status_text": "已到账"
}
],
"status_text": "已完成",
"funds_text": "个人"
},
{
"id": 34,
"user_id": 2,
"product_id": 1,
"funds": 1,
"price": "139.00",
"status": 1,
"update_time": "2021-02-02 14:52:59",
"create_time": "2021-02-01 17:24:37",
"product": {
"id": 1,
"name": "爱他美3段白金版*1(数量1)"
},
"money": [
{
"id": 71,
"orders_id": 34,
"money": "1.00",
"update_time": "2021-02-01 17:24:37",
"type": 2,
"status": 0,
"type_text": "代理佣金",
"status_text": "未到账"
},
{
"id": 72,
"orders_id": 34,
"money": "139.00",
"update_time": "2021-02-01 17:24:37",
"type": 3,
"status": 0,
"type_text": "代理本金",
"status_text": "未到账"
}
],
"status_text": "待打款",
"funds_text": "个人"
},
{
"id": 33,
"user_id": 2,
"product_id": 1,
"funds": 1,
"price": "139.00",
"status": 1,
"update_time": "2021-02-02 14:54:49",
"create_time": "2021-02-01 17:20:41",
"product": {
"id": 1,
"name": "爱他美3段白金版*1(数量1)"
},
"money": [
{
"id": 67,
"orders_id": 33,
"money": "1.00",
"update_time": "2021-02-01 17:20:41",
"type": 2,
"status": 0,
"type_text": "代理佣金",
"status_text": "未到账"
},
{
"id": 68,
"orders_id": 33,
"money": "139.00",
"update_time": "2021-02-01 17:20:41",
"type": 3,
"status": 0,
"type_text": "代理本金",
"status_text": "未到账"
}
],
"status_text": "待打款",
"funds_text": "个人"
}
],
"page": {
"current": 1,
"total": 1
}
}
~~~
### 字段信息
| 场景名 | 备注 |
| --- | --- |
| product.name | 方案名称 |
| create_time | 报单时间 |
| price | 本金 |
| funds_text | 垫付类型 |
| status_text | 报单状态 |