package event import "SciencesServer/app/common/model" type ActivityJoin struct{} func (*ActivityJoin) Handle(arg ...interface{}) { _ = model.Create(&model.ActivityJoin{ ActivityID: arg[0].(uint64), UID: arg[1].(uint64), Identity: arg[2].(int), Status: model.ActivityJoinStatusForSuccess, }) } func NewActivityJoin() *ActivityJoin { return &ActivityJoin{} }