feat:搭建项目结构

This commit is contained in:
2024-12-23 11:01:44 +08:00
parent fec24a50e0
commit aaf297717a
7 changed files with 53 additions and 0 deletions

4
conf/config.ini Normal file
View File

@@ -0,0 +1,4 @@
[server]
listen = 0.0.0.0
port = 8080
debug = true

8
conf/util.py Normal file
View File

@@ -0,0 +1,8 @@
import configparser
config_file_path = '/conf/config.ini'
config = configparser.ConfigParser()
def get_config_object(): return config
""" 返回配置对象 """