完善通道删除与定时失效功能
This commit is contained in:
@@ -3,46 +3,37 @@ GET http://110.40.82.250:18702/server/index/getToken/key/juipbyjdapiverify
|
||||
|
||||
### remote 配置信息
|
||||
GET http://103.139.212.110:9989/api/auto_query
|
||||
token: PhdnRF3z6VF2sPgygTSl1Xx6QJN0yFIK.anVpcA==.MTc0MzE2ODAwMQ==
|
||||
token: et1wWdrLLRsiQPCar8GunNFEZqcxATFa.anVpcA==.MTc0MzM0MjAwMQ==
|
||||
|
||||
### remote 配置重置
|
||||
### remote 配置连接
|
||||
POST http://103.139.212.110:9989/api/connect
|
||||
token: PhdnRF3z6VF2sPgygTSl1Xx6QJN0yFIK.anVpcA==.MTc0MzE2ODAwMQ==
|
||||
token: et1wWdrLLRsiQPCar8GunNFEZqcxATFa.anVpcA==.MTc0MzM0MjAwMQ==
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"uuid": "7a17e8b4-cdc3-4500-bf16-4a665991a7f6",
|
||||
"auto_config": [
|
||||
{
|
||||
"count": 1
|
||||
"count": 10
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
### gateway 端口信息
|
||||
GET http://api:123456@110.40.82.248:9990/port/active/
|
||||
|
||||
### gateway 配置端口代理
|
||||
POST http://api:123456@110.40.82.248:9990/port/configs
|
||||
### remote 下线全部
|
||||
POST http://103.139.212.110:9989/api/disconnect
|
||||
token: et1wWdrLLRsiQPCar8GunNFEZqcxATFa.anVpcA==.MTc0MzM0MjAwMQ==
|
||||
Content-Type: application/json
|
||||
|
||||
//[
|
||||
// {
|
||||
// "port": 10000,
|
||||
// "status": true,
|
||||
// "userpass": "mIfSlXIBwVUrKqObNdTzvB:cyDaGtfeBlhRfojTYJP2tR",
|
||||
// "auto_edge_config": {
|
||||
// "count": 1
|
||||
// }
|
||||
// }
|
||||
//]
|
||||
[
|
||||
{
|
||||
"port": 10000,
|
||||
"status": false,
|
||||
"edge": []
|
||||
}
|
||||
]
|
||||
{
|
||||
"uuid": "7a17e8b4-cdc3-4500-bf16-4a665991a7f6",
|
||||
"config": {}
|
||||
}
|
||||
|
||||
### gateway 连接信息
|
||||
GET http://api:123456@110.40.82.248:9990/edge
|
||||
|
||||
### gateway 端口信息
|
||||
GET http://api:123456@110.40.82.248:9990/port/active
|
||||
|
||||
### 设备令牌
|
||||
POST http://localhost:8080/api/auth/token
|
||||
@@ -59,23 +50,20 @@ Content-Type: application/json
|
||||
client.global.set("refresh_token", response.body.refresh_token);
|
||||
%}
|
||||
|
||||
### 密码模式代理
|
||||
### 提取代理
|
||||
POST http://localhost:8080/api/channel/create
|
||||
Authorization: Bearer {{access_token}}
|
||||
Authorization: Basic test test
|
||||
Content-Type: application/json
|
||||
Accept: application/json
|
||||
|
||||
{
|
||||
"resource_id": 1,
|
||||
"protocol": "http",
|
||||
"auth_type": 1,
|
||||
"count": 1,
|
||||
"auth_type": 0,
|
||||
"count": 200,
|
||||
"prov": "",
|
||||
"city": "",
|
||||
"isp": "",
|
||||
"result_type": "text",
|
||||
"result_separator": "both"
|
||||
}
|
||||
|
||||
### 白名单模式代理
|
||||
|
||||
|
||||
Reference in New Issue
Block a user