智简魔方文档
财务系统开发文档财务系统 API 文档资源池管理

业务列表

接口地址:/admin/resource/hostlist GET

业务列表 -- xj

接口说明:业务列表

接口参数

参数名字类型是否必须默认值其他说明
pagenumber非必填1-页码
pagecountnumber非必填--每页显示条数
order字符串非必填id-排序字段(id,uid,productid,billingcycle,payment,nextduedate,dedicatedip,username,productname)
sort字符串非必填ASC-排序方式
product_type字符串非必填--产品类型(搜索字段)
uid整型非必填--用户名(搜索字段)
name字符串非必填--产品名(搜索字段)
servernumber非必填--服务器id(搜索字段)
productnumber非必填--产品id(搜索字段)
payment字符串非必填--支付方式(搜索字段)
billingcycle字符串非必填--付款周期(搜索字段)
domainstatus字符串非必填--主机状态(搜索字段)
domain字符串非必填--主机名(搜索字段)
ip字符串非必填--ip(搜索字段)
nextduedate整型非必填--到期时间
start_time整型非必填--开始时间
end_time整型非必填--结束时间

返回结果

{
  "status":200/201/203/204/400/401/406,
  "msg":提示信息,
  "data":{
    "base":[{//基础数据(搜索区)
      "billingcycle":"周期",
      "gateway_list":"支付方式",
      "product_list":[{//产品列表
        "id":"分组id",
        "groupname":"分组名称",
        "clild":[{//产品数组
          "id":"产品id",
          "productname":"产品名称",
        }]
      }]
      "product_type":"产品类型",
      "server_list":"服务器列表",
      "domainstatus":"服务器状态",
    }]
    "list":[{//数据列表
      "id":"主机id",
      "dedicatedip":"独立ip",
      "billingcycle":"周期",
      "dedicatedip":"主ip地址",
      "assignedips":"附加ip地址",
      "nextduedate":"到期时间",
      "payment":"付款方式",
      "productid":"产品id",
      "productname":"产品名",
      "productname":"状态'Pending','Active','Suspended','Terminated','Cancelled','Fraud','Completed'",
      "uid":"用户id",
      "amount":"价格",
      "regdate":"开通时间",
      "dedicatedip":"ip地址",
      "type":"产品类型(shared",
      "username":"用户名",
      "sale_name":"显示销售",
    }]
    "pagination":[{//分页相关数据
      "count":"总数量",
      "total_page":"总页码",
      "pagecount":"每页数量",
      "page":"当前页码",
      "orderby":"排序字段",
      "sorting":"排序方式",
    }]
    "search":[{//搜索参数
      "billingcycle":"周期",
      "domainstatus":"主机状态",
      "payment":"支付方式",
      "product":"产品id",
      "product_type":"产品类型",
      "server":"服务器id",
    }]
  }
}

提示:此文档是由系统自动生成,如发现错误或疑问请告知开发人员及时修改