update: settings init doct

This commit is contained in:
JackSun-qc 2022-05-05 14:38:36 +08:00
parent f5c37941e7
commit fa41ecab32

View File

@ -194,6 +194,12 @@ from usr.settings import settings
#### init 初始化
> 功能:
>
> - 检查持久化配置文件是否存在,存在则直接读取配置文件配置
> - 若不存在则读取`SYSConfig`设置参数进行后续默认参数读取
> - 读取完成所有配置参数后,将参数写入配置文件中持久化存储
例:
```python