增加消息管理

This commit is contained in:
GoEdgeLab
2020-10-20 20:18:12 +08:00
parent 957b5b620c
commit 10faba32ea
15 changed files with 274 additions and 3 deletions

View 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"
}