1.4.5.2
This commit is contained in:
21
EdgeUser/internal/web/actions/default/servers/server.go
Normal file
21
EdgeUser/internal/web/actions/default/servers/server.go
Normal file
@@ -0,0 +1,21 @@
|
||||
package servers
|
||||
|
||||
import (
|
||||
"github.com/TeaOSLab/EdgeUser/internal/utils/numberutils"
|
||||
"github.com/TeaOSLab/EdgeUser/internal/web/actions/actionutils"
|
||||
)
|
||||
|
||||
type ServerAction struct {
|
||||
actionutils.ParentAction
|
||||
}
|
||||
|
||||
func (this *ServerAction) Init() {
|
||||
this.Nav("", "", "")
|
||||
}
|
||||
|
||||
func (this *ServerAction) RunGet(params struct {
|
||||
ServerId int64
|
||||
}) {
|
||||
// TODO 先跳转到设置页面,将来实现日志查看、统计看板等
|
||||
this.RedirectURL("/servers/server/settings/serverNames?serverId=" + numberutils.FormatInt64(params.ServerId))
|
||||
}
|
||||
Reference in New Issue
Block a user