订单列表
接口地址:admin/agent/order GET
订单列表 -- wyh
接口说明:订单列表
接口参数
| 参数名字 | 类型 | 是否必须 | 默认值 | 其他 | 说明 |
|---|---|---|---|---|---|
| page | 整型 | 非必填 | - | - | 页码 |
| limit | 整型 | 非必填 | - | - | 长度 |
| order | 字符串 | 非必填 | - | - | 排序字段 |
| sort | 字符串 | 非必填 | - | - | 排序规则(asc/desc) |
| type | 字符串 | 非必填 | - | - | 订单类型order_type |
| value | 字符串 | 非必填 | - | - | 传返回的type的键 |
返回结果
{
"status":200/201/203/204/400/401/406,
"msg":提示信息,
"data":{
"count":"总数",
"rows":[{//订单列表信息
"id":"资源池订单ID",
"local_id":"本地订单ID(跳转至订单内页以这个为准)",
"local_hostid":"本地产品ID(跳转至产品内页以这个为准)",
"name":"商品名称",
"domain":"主机名",
"local_name":"本地商品",
"local_domain":"本地主机",
"product_type":"产品类型",
"dedicatedip":"IP",
"supplier_username":"供应商用户名(卖家)",
"agent_username":"代理商用户名(买家?用户?)",
"local_username":"在代理商购买商品的客户",
"order_status":"订单状态",
"create_time":"订购时间",
"invoice_type_zh":"订单类型",
"billingcycle_zh":"周期",
"payment":"代理商",
"local_payment":"",
"order_notes":"代理商",
"local_order_notes":"客户在代理商处的",
"i_status":"订单支付状态:除了Unpaid外,其他都有退款按钮",
"evaluation_id":"评论ID,大于0代表已评论",
"resource_amount":"资源池购买价格",
"current_rate":"相对资源池货币汇率",
"after_sale":"售后记录信息(有此值,则显示",
"hosts":[{//产品信息
"hostid":"产品ID",
"local_hostid":"本地产品ID(跳转以至产品内页以这个为准)",
"name":"产品名称",
"domain":"主机名",
"dedicatedip":"IP",
"billingcycle":"周期",
"firstpaymentamount":"金额",
"type":"产品类型",
}]
}]
}
}提示:此文档是由系统自动生成,如发现错误或疑问请告知开发人员及时修改