ip列表查询

查询已购买的静态IP列表。

接口信息

GET /client/ip/pool/item/merchantIpList

请求头

参数名类型描述
x-merchant-tokenString商户令牌
x-merchant-codeString商户代码

请求参数

参数名必选类型描述
ipStringIP
statusIntegerIP状态:1-已生效, 2-已过期 3-已退订
typeIntegerIP类别 0广播 1原生
pageSizeInteger每页显示记录数
pageNumInteger当前页码

代码示例

/api/kton/client/ip/pool/item/merchantIpList?ip=156.252&status=1&type=1&pageSize=1

响应示例

{
  "total": 58,
  "rows": [
    {
      "createBy": null,
      "createTime": "2025-03-24 20:22:31",
      "updateBy": null,
      "updateTime": "2025-03-24 23:26:14",
      "remark": null,
      "id": 147,
      "poolId": 1,
      "merchantId": 1,
      "lastOrderId": 176,
      "sourceCode": null,
      "sourceName": null,
      "account": "justinka",
      "password": "34372766",
      "port": "2340",
      "ip": "156.252.8.76",
      "protocolse": null,
      "effectiveDatetime": "2025-03-24",
      "expireDatetime": "2025-05-23",
      "status": 1,
      "type": 1,
      "continent": "Asia",
      "countryCode": "VN",
      "location": "",
      "hot": "N"
    }
  ],
  "code": 200,
  "msg": "查询成功"
}

响应参数说明

参数名类型描述
idLong记录ID
accountString账号
passwordString密码
portString端口
ipStringIP地址
effectiveDatetimeString生效时间
expireDatetimeString到期时间
statusInteger状态:1-已生效, 2-已过期 3-已退订
typeIntegerIP类别 0广播 1原生
continentString大洲
countryCodeString国家代码
locationString位置