http://127.0.0.1:8888/api/
参数名 | 必选 | 类型 | 说明 |
---|---|---|---|
type | 是 | int | 接口编号 |
protocol | 是 | int | 协议类型 |
host | 是 | string | IP地址 |
port | 是 | string | 端口号 |
{
"type": 1001,
"protocol": 1,
"host": "127.0.0.1",
"port": 18000
}
自行实现,或使用http处理器
参数名 | 类型 | 说明 |
---|---|---|
error_code | int | 错误代码 |
description | string | 错误描述 |
data | json | 业务数据 |