mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-09-10 16:46:26 +08:00
feat: 增加更新恶意IP组、蜘蛛IP池、IP地址库功能 (#6910)
This commit is contained in:
parent
c52dddfa67
commit
638f390308
3 changed files with 18 additions and 15 deletions
|
@ -4,6 +4,7 @@ system:
|
||||||
base_dir: /opt
|
base_dir: /opt
|
||||||
mode: dev
|
mode: dev
|
||||||
repo_url: https://resource.fit2cloud.com/1panel/package
|
repo_url: https://resource.fit2cloud.com/1panel/package
|
||||||
|
resource_url: https://resource.fit2cloud.com/1panel/resource
|
||||||
app_repo: https://apps-assets.fit2cloud.com
|
app_repo: https://apps-assets.fit2cloud.com
|
||||||
username: admin
|
username: admin
|
||||||
password: admin
|
password: admin
|
||||||
|
|
|
@ -1,19 +1,20 @@
|
||||||
package configs
|
package configs
|
||||||
|
|
||||||
type System struct {
|
type System struct {
|
||||||
MasterAddr string `mapstructure:"master_addr"`
|
MasterAddr string `mapstructure:"master_addr"`
|
||||||
DbFile string `mapstructure:"db_agent_file"`
|
DbFile string `mapstructure:"db_agent_file"`
|
||||||
DbPath string `mapstructure:"db_path"`
|
DbPath string `mapstructure:"db_path"`
|
||||||
LogPath string `mapstructure:"log_path"`
|
LogPath string `mapstructure:"log_path"`
|
||||||
DataDir string `mapstructure:"data_dir"`
|
DataDir string `mapstructure:"data_dir"`
|
||||||
TmpDir string `mapstructure:"tmp_dir"`
|
TmpDir string `mapstructure:"tmp_dir"`
|
||||||
Cache string `mapstructure:"cache"`
|
Cache string `mapstructure:"cache"`
|
||||||
Backup string `mapstructure:"backup"`
|
Backup string `mapstructure:"backup"`
|
||||||
EncryptKey string `mapstructure:"encrypt_key"`
|
EncryptKey string `mapstructure:"encrypt_key"`
|
||||||
BaseDir string `mapstructure:"base_dir"`
|
BaseDir string `mapstructure:"base_dir"`
|
||||||
Mode string `mapstructure:"mode"`
|
Mode string `mapstructure:"mode"`
|
||||||
RepoUrl string `mapstructure:"repo_url"`
|
RepoUrl string `mapstructure:"repo_url"`
|
||||||
Version string `mapstructure:"version"`
|
ResourceUrl string `mapstructure:"resource_url"`
|
||||||
IsDemo bool `mapstructure:"is_demo"`
|
Version string `mapstructure:"version"`
|
||||||
AppRepo string `mapstructure:"app_repo"`
|
IsDemo bool `mapstructure:"is_demo"`
|
||||||
|
AppRepo string `mapstructure:"app_repo"`
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,6 +12,7 @@ type System struct {
|
||||||
BackupDir string `mapstructure:"backup_dir"`
|
BackupDir string `mapstructure:"backup_dir"`
|
||||||
Mode string `mapstructure:"mode"`
|
Mode string `mapstructure:"mode"`
|
||||||
RepoUrl string `mapstructure:"repo_url"`
|
RepoUrl string `mapstructure:"repo_url"`
|
||||||
|
ResourceUrl string `mapstructure:"resource_url"`
|
||||||
Version string `mapstructure:"version"`
|
Version string `mapstructure:"version"`
|
||||||
Username string `mapstructure:"username"`
|
Username string `mapstructure:"username"`
|
||||||
Password string `mapstructure:"password"`
|
Password string `mapstructure:"password"`
|
||||||
|
|
Loading…
Add table
Reference in a new issue