From c55361cc01a761cc74c391edfe4158970fd1d3a7 Mon Sep 17 00:00:00 2001 From: jyhl Date: Wed, 13 Jan 2021 09:57:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'README.MD'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.MD | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.MD b/README.MD index bcbe7e7..54c9c57 100644 --- a/README.MD +++ b/README.MD @@ -7,3 +7,11 @@ # 安装运行 * pip install -r requirements.txt * nohup python renew_ip.py & + + +API参考: +添加/修改白名单IP + +在链接后面加上 &limitip=append&newip=[ip] ,[ip] 需要添加的ip地址,如果数量超过限制则添加失败 + +在链接后面加上 &limitip=append&newip=[ip]&index=-1 ,[ip] 需要添加的新IP地址 ,[index] 需要修改的旧IP索引位置,-1为列表中最后一个,0为列表中第一个 \ No newline at end of file