update: 更新api文档

This commit is contained in:
RTAkland
2022-12-21 21:15:55 +08:00
parent ddbabe2b7a
commit be18280e74
1 file changed
+6
+6
View File
@@ -1,5 +1,11 @@
# 这里是API接口的开发文档
# config.py
* 文件内的`Config`类的`database`属性数据库类型, 已经支持了 `SQLite` `MySQL`
* 使用sqlite, 直接填写为`sqlite3` 即默认
* 使用mysql, 需要按照以下格式填写: user:pwd@host:port/db
> 所有接口前缀都为`/api/`
> 返回类型除了 `export` 都是RESTFul风格的api