本接口用于查询VPS订单列表信息
POST /client/order/vpsOrderList
| 参数名 | 必选 | 类型 | 说明 |
| x-merchant-token | 是 | string | 商户访问令牌 |
| x-merchant-code | 是 | string | 商户编码 |
| 参数名 | 必选 | 类型 | 说明 |
| orderNo | 是 | String | 订单号 |
const response = await fetch('/client/order/vpsOrderList', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'x-merchant-token': 'your-token-here',
'x-merchant-code': 'your-merchant-code'
},
body: JSON.stringify({
"orderNo":"N2025032701271232584"
})
});
{
"msg": "操作成功",
"code": 200,
"data": {
"orderNo": "N2025032701271232584",
"quantity": 1,
"totalAmount": 30.000,
"currency": "USD",
"paidStatus": 10,
"payMethod": null,
"effectiveDatetime": "2025-03-27",
"expireDatetime": "2025-05-27",
"orderItems": [
{
"orderNo": "N2025032701271232584",
"hostIp": "192.168.2.7",
"containerId": "c6512562422d",
"clusterId": 6,
"hostTemplateId": "povcUS2qr2oHgaz",
"activationDurationType": "2",
"continent": "Asia",
"countryCode": "TH",
"city": "Bangkok",
"effectiveDatetime": "2025-03-27",
"expireDatetime": "2025-05-27",
"model": "TH.Test2",
"cpuCores": 2,
"cpuModel": "Xeon E5",
"memory": 2,
"diskCapacity": 1000,
"diskModel": "Kingston",
"ioWrite": 100,
"ioRead": 200,
"bandwidth": 1000,
"internetTraffic": 1000,
"ipV4": "BGP",
"ipV6": "Y"
}
]
}
}
| 参数名 | 类型 | 说明 |
| orderNo | String | 订单号 |
| quantity | Integer | 购买sh匀 |
| totalAmount | Double | 购买金额 |
| currency | String | 货币单位(当前仅支持USD) |
| paidStatus | Integer | 支付状态(0-已取消,10-新订单-未支付,20-已支付) |
| payMethod | String | 支付方式(当前仅支持BALANCE) |
| effectiveDatetime | String | 生效时间 |
| expireDatetime | String | 过期时间 |
| orderItems | 是 | Array[OrderItemVO] |
| 参数名 | 类型 | 说明 |
| orderNo | String | 订单号 |
| hostIp | String | VPS IP |
| containerId | String | 容器ID |
| clusterId | Integer | 集群ID |
| hostTemplateId | String | 配置模板ID |
| activationDurationType | String | 购买方式 |
| continent | String | 地区 |
| countryCode | String | 国家编号 |
| city | String | 城市 |
| effectiveDatetime | String | 生效时间 |
| expireDatetime | String | 过期时间 |
| model | String | 型号 |
| cpuCores | Integer | 核心数 |
| cpuModel | String | cpu型号 |
| memory | Integer | 内存大小 |
| diskCapacity | Integer | 硬盘容量 |
| diskModel | String | 硬盘型号 |
| ioWrite | Integer | 写速度 |
| ioRead | Integer | 读速度 |
| bandwidth | Integer | 带宽 |
| internetTraffic | Integer | 流量 |
| ip_v4 | String | ip_v4 |
| ip_v6 | Integer | ipv6(Y-支持,N-不支持) |
| bandwidth | Integer | 带宽 |