mirror of
				https://github.com/TeaOSLab/EdgeAdmin.git
				synced 2025-11-04 13:10:26 +08:00 
			
		
		
		
	支持套餐相关操作
This commit is contained in:
		@@ -2,6 +2,7 @@ package servers
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
	"github.com/TeaOSLab/EdgeAdmin/internal/configloaders"
 | 
			
		||||
	"github.com/TeaOSLab/EdgeAdmin/internal/web/actions/default/servers/users"
 | 
			
		||||
	"github.com/TeaOSLab/EdgeAdmin/internal/web/helpers"
 | 
			
		||||
	"github.com/iwind/TeaGo"
 | 
			
		||||
)
 | 
			
		||||
@@ -24,6 +25,12 @@ func init() {
 | 
			
		||||
			GetPost("/addOriginPopup", new(AddOriginPopupAction)).
 | 
			
		||||
			Get("/serverNamesPopup", new(ServerNamesPopupAction)).
 | 
			
		||||
			Post("/status", new(StatusAction)).
 | 
			
		||||
 | 
			
		||||
			//
 | 
			
		||||
			Post("/users/options", new(users.OptionsAction)).
 | 
			
		||||
			Post("/users/plans", new(users.PlansAction)).
 | 
			
		||||
 | 
			
		||||
			//
 | 
			
		||||
			EndAll()
 | 
			
		||||
	})
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user