zhenxun_bot/plugins/web_ui/__init__.py

21 lines
335 B
Python
Raw Normal View History

2022-04-04 20:33:37 +08:00
from configs.config import Config as gConfig
from .manager import *
from .auth import *
gConfig.add_plugin_config(
"web-ui",
"username",
"admin",
name="web-ui",
help_="前端管理用户名"
)
gConfig.add_plugin_config(
"web-ui",
"password",
None,
name="web-ui",
help_="前端管理密码"
)