Skip to content

Commit

Permalink
报错编号、原因及解决方案
Browse files Browse the repository at this point in the history
  • Loading branch information
Xuangeaha committed May 22, 2023
1 parent 6f0d309 commit 8a81913
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,16 @@ https://xuangeaha.blog.csdn.net/article/details/130441906

接下来,您可以:

1.`urls.txt` 放入 `infrc.exe` 同目录中,双击 `infrc.exe` 直接运行。

2. 或者,将目录加入环境变量中,在终端中输入:
1.`urls.txt` 放入 `infrc.exe` 同目录中,双击 `infrc.exe` **直接运行**
2. 或者,将目录加入**环境变量**中,在终端中输入:

```bash
infrc [文件地址]
```

此时,文件名不一定需是 `urls.txt`

3. 或者,在同目录下的 `config.json` 中配置文件地址
3. 或者,在同目录下的 `config.json` **配置文件地址**

```json
{
Expand All @@ -59,3 +58,11 @@ infrc [文件地址]
}
}
```

## 报错列表

| 编号 | 原因 | 解决方案 |
| ---------- | ---------------------------------------------------- | -------------------------------------------- |
| [Infrc001] | 没有找到 urls.txt 或指定的文件。 | 参考“使用方法”配置 urls.txt 位置。 |
| [Infrc002] | 请求出错:请检查 …… 中 …… 中是否存在拼写错误... | 检查 urls.txt 中网址可用性或网络连接状态。 |
| [Infrc003] | config.json 中存在填写错误。 | 参考“使用方法”正确填写 config.json 格式。 |

0 comments on commit 8a81913

Please sign in to comment.