55 lines
1.1 KiB
Markdown
55 lines
1.1 KiB
Markdown
|
<!--
|
||
|
* @Author: giaogiao giaogiao
|
||
|
* @Date: 2023-07-31 16:50:54
|
||
|
* @LastEditors: giaogiao giaogiao
|
||
|
* @LastEditTime: 2023-07-31 16:53:37
|
||
|
* @FilePath: \go\README.MD
|
||
|
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||
|
-->
|
||
|
|
||
|
json conf example
|
||
|
```
|
||
|
{
|
||
|
"settings": {
|
||
|
"api_url": "http://127.0.0.1:50101/api/get_ip_list?num=1&country=#country&state=all&city=all&zip=all&isp=all&ip_time=1&t=1&port=#port",
|
||
|
"detection_time": 20,
|
||
|
"detection_node_url": "https://ip.shagain.club/"
|
||
|
},
|
||
|
"node": [
|
||
|
{
|
||
|
"remarks": "giao",
|
||
|
"country": "UK",
|
||
|
"port": 30000
|
||
|
},
|
||
|
{
|
||
|
"remarks": "giao2",
|
||
|
"country": "UK",
|
||
|
"port": 30001
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
|
||
|
|
||
|
```
|
||
|
|
||
|
|
||
|
json conf explain
|
||
|
```
|
||
|
{
|
||
|
"settings": {
|
||
|
"api_url": "请求切换IP api #country #port 字符串模版",
|
||
|
"detection_time": 检测间隔 单位秒,
|
||
|
"detection_node_url": "检测的url"
|
||
|
},
|
||
|
"node": [
|
||
|
{
|
||
|
"remarks": "备注",
|
||
|
"country": "国家代码",
|
||
|
"port": 端口
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
|
||
|
|
||
|
```
|