Skip to content

Commit 7c82102

Browse files
committed
fix: Remove unnecessary FAQ
1 parent 7e3ac5c commit 7c82102

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

  • 25spring/middle_homework

25spring/middle_homework/faq.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -125,13 +125,3 @@ if (!file.is_open()) {
125125
126126
- 确保能看到文件后缀名:如果你使用 Windows 系统,你需要确保文件资源管理器设置为显示文件扩展名。打开文件资源管理器,选择“查看”标签页,然后勾选“文件扩展名”选项。如果你使用 Mac,你可以在 Finder 中选择“Finder”菜单,点击“偏好设置”,然后在“高级”标签中勾选“显示所有文件扩展名”。
127127
- 创建JSON文件:创建一个 txt 文件,写入 JSON 内容,然后将后缀名改成 json。当然如果你可以在保存的时候选择需要创建的后缀名,直接保存为 json 格式即可。
128-
129-
## API 相关问题
130-
131-
**Q1**: `Article` 和 `Book` 的 `year` 到底是什么类型?
132-
133-
**A1**: `Article` 的 `year` 是 `int` 类型,`Book` 的 `year` 是 `string` 类型。之前的文档可能存在错误,请以最新文档为准。
134-
135-
**Q2**: `id` 只能是字符串类型的数字吗?
136-
137-
**A2**: 不一定,`id` 可以是任意合法的字符串,不一定是数字。

0 commit comments

Comments
 (0)