admin_mode config

This commit is contained in:
icy
2025-10-31 14:34:53 +08:00
parent 10533af715
commit b1f4e78393
2 changed files with 2 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
{
"admin_mode": true,
"leverage": {
"btc_eth_leverage": 5,
"altcoin_leverage": 5

View File

@@ -211,6 +211,7 @@ func (d *Database) initDefaultData() error {
// 初始化系统配置
systemConfigs := map[string]string{
"admin_mode": "true",
"api_server_port": "8080",
"use_default_coins": "true",
"coin_pool_api_url": "",