mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-04 11:30:58 +08:00
admin_mode config
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"admin_mode": true,
|
||||
"leverage": {
|
||||
"btc_eth_leverage": 5,
|
||||
"altcoin_leverage": 5
|
||||
|
||||
@@ -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": "",
|
||||
|
||||
Reference in New Issue
Block a user