mirror of
https://gitee.com/qpy-solutions/tracker-v2.git
synced 2025-05-20 03:28:26 +08:00
update: settings init doct
This commit is contained in:
parent
f5c37941e7
commit
fa41ecab32
@ -194,6 +194,12 @@ from usr.settings import settings
|
|||||||
|
|
||||||
#### init 初始化
|
#### init 初始化
|
||||||
|
|
||||||
|
> 功能:
|
||||||
|
>
|
||||||
|
> - 检查持久化配置文件是否存在,存在则直接读取配置文件配置
|
||||||
|
> - 若不存在则读取`SYSConfig`设置参数进行后续默认参数读取
|
||||||
|
> - 读取完成所有配置参数后,将参数写入配置文件中持久化存储
|
||||||
|
|
||||||
例:
|
例:
|
||||||
|
|
||||||
```python
|
```python
|
||||||
|
Loading…
x
Reference in New Issue
Block a user