mirror of
				https://github.com/TeaOSLab/EdgeAdmin.git
				synced 2025-11-04 05:00:25 +08:00 
			
		
		
		
	增加企业版认证相关API
This commit is contained in:
		@@ -2,6 +2,7 @@ package settingutils
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
	"github.com/TeaOSLab/EdgeAdmin/internal/configloaders"
 | 
			
		||||
	teaconst "github.com/TeaOSLab/EdgeAdmin/internal/const"
 | 
			
		||||
	"github.com/TeaOSLab/EdgeAdmin/internal/web/actions/actionutils"
 | 
			
		||||
	"github.com/iwind/TeaGo/actions"
 | 
			
		||||
)
 | 
			
		||||
@@ -34,7 +35,10 @@ func (this *AdvancedHelper) BeforeAction(actionPtr actions.ActionWrapper) (goNex
 | 
			
		||||
		tabbar.Add("API节点", "", "/api", "", this.tab == "apiNodes")
 | 
			
		||||
		tabbar.Add("用户节点", "", "/settings/userNodes", "", this.tab == "userNodes")
 | 
			
		||||
		tabbar.Add("日志数据库", "", "/db", "", this.tab == "dbNodes")
 | 
			
		||||
		tabbar.Add("监控节点", "", "/settings/monitorNodes", "", this.tab == "monitorNodes")
 | 
			
		||||
		if teaconst.IsPlus {
 | 
			
		||||
			tabbar.Add("监控节点", "", "/settings/monitorNodes", "", this.tab == "monitorNodes")
 | 
			
		||||
		}
 | 
			
		||||
		tabbar.Add("企业版认证", "", "/settings/authority", "", this.tab == "authority")
 | 
			
		||||
 | 
			
		||||
		//tabbar.Add("备份", "", "/settings/backup", "", this.tab == "backup")
 | 
			
		||||
	}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user