mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-15 06:12:53 +08:00
21 lines
335 B
Python
21 lines
335 B
Python
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_="前端管理密码"
|
|
)
|