产品列表
接口地址:/admin/agent/host GET
产品列表 -- wyh
时间 2021-09-03
接口参数
| 参数名字 | 类型 | 是否必须 | 默认值 | 其他 | 说明 |
|---|---|---|---|---|---|
| page | 整型 | 必填 | 1 | - | 第几页 |
| limit | 整型 | 必填 | 10 | - | 每页多少条 |
| order | 字符串 | 必填 | 10 | - | 排序字段 |
| sort | 整型 | 必填 | 10 | - | AESC,DESC |
| keywords | mix | 非必填 | - | - | 关键字搜索 |
| status | mix | 非必填 | - | - | 状态搜索 |
返回结果
{
"status":200/201/203/204/400/401/406,
"msg":提示信息,
"data":{
"status":"状态,搜索使用",
"rows":[{//产品信息
"id":"",
"name":"商品名称",
"domain":"主机名",
"dedicatedip":"IP",
"supplier_username":"卖家",
"agent_username":"买家(工单先不要)",
"order_status":"状态",
"create_time":"订购时间",
"amount":"金额",
"billingcycle_zh":"周期",
"local_hostid":"本地产品ID(跳转至产品内页需要此参数)",
"local_uid":"本地客户ID(跳转至产品内页需要此参数)",
"shop_name":"店铺名称",
}]
}
}提示:此文档是由系统自动生成,如发现错误或疑问请告知开发人员及时修改