generated from template/router-template
init first
This commit is contained in:
28
backend/readme.md
Normal file
28
backend/readme.md
Normal file
@@ -0,0 +1,28 @@
|
||||
## 后端功能
|
||||
|
||||
使用db,better-sqite3
|
||||
|
||||
### 今日问题管理
|
||||
|
||||
问题结构:
|
||||
|
||||
id(uuid), title(string),description(string),tags(string[]), summary(string), createdAt, updatedAt, date(string,YYYY-MM-DD) qid(uuid)
|
||||
|
||||
对数据库的资源的内容,增删改查
|
||||
|
||||
### 问题资料库管理
|
||||
|
||||
id(uuid) title(string),description(string),tags(string[]), repeat(boolean), isUse(boolean), usedAt, createdAt, updatedAt
|
||||
|
||||
对问题资料库进行管理
|
||||
|
||||
|
||||
### 额外功能
|
||||
|
||||
#### 随机获取问题
|
||||
|
||||
随机获取一条未使用的library的问题,获取到问题后。
|
||||
操作1:对资料库的对应的那条数据,更新数据,isUse,usedAt
|
||||
操作2:添加一条任务是当天任务的一条数据到daily当中
|
||||
|
||||
#### AI添加问题列表
|
||||
Reference in New Issue
Block a user