mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-04 21:50:28 +08:00
17 lines
362 B
Go
17 lines
362 B
Go
|
|
// Copyright 2021 Liuxiangchao iwind.liu@gmail.com. All rights reserved.
|
||
|
|
|
||
|
|
package setup
|
||
|
|
|
||
|
|
import "github.com/TeaOSLab/EdgeAdmin/internal/web/actions/actionutils"
|
||
|
|
|
||
|
|
var currentStatusText = ""
|
||
|
|
|
||
|
|
type StatusAction struct {
|
||
|
|
actionutils.ParentAction
|
||
|
|
}
|
||
|
|
|
||
|
|
func (this *StatusAction) RunPost(params struct{}) {
|
||
|
|
this.Data["statusText"] = currentStatusText
|
||
|
|
this.Success()
|
||
|
|
}
|