mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-12-03 10:20:25 +08:00
增加消息管理
This commit is contained in:
11
internal/web/actions/default/messages/helper.go
Normal file
11
internal/web/actions/default/messages/helper.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package messages
|
||||
|
||||
import "github.com/iwind/TeaGo/actions"
|
||||
|
||||
type Helper struct {
|
||||
}
|
||||
|
||||
func (this *Helper) BeforeAction(actionPtr actions.ActionWrapper) {
|
||||
action := actionPtr.Object()
|
||||
action.Data["teaMenu"] = "message"
|
||||
}
|
||||
Reference in New Issue
Block a user