This commit is contained in:
wangqifan 2025-10-23 15:58:53 +08:00
parent eda8e0bfcb
commit cc6ef7f86f
3 changed files with 15 additions and 14 deletions

View File

@ -33,6 +33,7 @@
### 安装依赖
```bash
pip install -r requirements.txt
conda install daphne hypercorn uwsgi gunicorn
```
### 配置环境变量

View File

@ -4,7 +4,7 @@ EIP_PASSWORD=Hnz3HuWCqEX9vdzpBodY304T6CEJJJ
# EIP 基础配置
EIP_BASE_URL=https://smart.jdbox.xyz:58001
EIP_GATEWAY_MAC=00163E1A2F0E
EIP_GATEWAY_MAC=525400CE3FA3
# 轮换默认参数(如不指定,请在请求体传递 cityhash
EIP_DEFAULT_CITYHASH=20c5485e25a2f55681fa38f3598b34a6876e60c3188e4b5174042e4e390a1808
@ -17,4 +17,4 @@ REDIS_URL=redis://127.0.0.1:6379/5
LOG_LEVEL=INFO
# 端口数==条数 从172.30.168.2开始
PORT_NUM=3
PORT_NUM=10

View File

@ -1,23 +1,23 @@
{
"1": {
"id": 1,
"current_ip": "222.169.52.224",
"last_rotate_time": "2025-10-22T14:45:11.633459",
"current_ip": "61.170.158.231",
"last_rotate_time": "2025-10-23T15:55:44.394507",
"status": "active",
"edge_device": "DCD87C27D4D6",
"geo_location": "a4002c19888160b7f7875e7d5727ad8a0c7323af8070f39dcf60895112ac1283",
"rotate_count": 8,
"last_update_time": "2025-10-22T14:45:11.645492"
"edge_device": "DCD87C401959",
"geo_location": "f8a5e9b04178490cf8e71f5b273538aa75ef2c978ecac974a176d93af966ef53",
"rotate_count": 9,
"last_update_time": "2025-10-23T15:55:44.406606"
},
"2": {
"id": 2,
"current_ip": "39.128.153.88",
"last_rotate_time": "2025-10-22T14:41:24.720185",
"current_ip": "61.170.152.180",
"last_rotate_time": "2025-10-23T15:57:39.942336",
"status": "active",
"edge_device": "DCD87C29EB38",
"geo_location": "6dafce691415eeb72b86b9529e6d05773cf7e94df13957d3df64b37267cc2fe8",
"rotate_count": 5,
"last_update_time": "2025-10-22T14:41:24.729735"
"edge_device": "DCD87C45BD5A",
"geo_location": "f8a5e9b04178490cf8e71f5b273538aa75ef2c978ecac974a176d93af966ef53",
"rotate_count": 6,
"last_update_time": "2025-10-23T15:57:39.951883"
},
"3": {
"id": 3,