From 5d4ff4fb54afd4c3aac59a77a40a8b566f2fb5eb Mon Sep 17 00:00:00 2001 From: Leufolium Date: Tue, 22 Oct 2024 13:27:02 +0800 Subject: [PATCH] by Robin at 20241022 --- app/mix/service/logic/notif_bcst_vers.go | 2 +- app/mix/service/service.go | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/mix/service/logic/notif_bcst_vers.go b/app/mix/service/logic/notif_bcst_vers.go index c8d385d3..6d92af87 100644 --- a/app/mix/service/logic/notif_bcst_vers.go +++ b/app/mix/service/logic/notif_bcst_vers.go @@ -12,7 +12,7 @@ type NotifBcstVers struct { store *dao.Store } -func NewZoneNotifBcstVers(store *dao.Store) (a *NotifBcstVers) { +func NewNotifBcstVers(store *dao.Store) (a *NotifBcstVers) { a = &NotifBcstVers{ store: store, } diff --git a/app/mix/service/service.go b/app/mix/service/service.go index 543c6551..0716684f 100644 --- a/app/mix/service/service.go +++ b/app/mix/service/service.go @@ -259,6 +259,10 @@ func (s *Service) Init(c any) (err error) { _DefaultAutoResponseCreateTimes = logic.NewAutoResponseCreateTimes(store) _DefaultNotification = logic.NewNotification(store) _DefaultRavenIQTest = logic.NewRavenIQTest(store) + _DefaultNotifBcstVers = logic.NewNotifBcstVers(store) + _DefaultNotifBcst = logic.NewNotifBcst(store) + _DefaultNotifReceive = logic.NewNotifReceive(store) + _DefaultNotifReceivePull = logic.NewNotifReceivePull(store) _DefaultVas = logic.NewVas(store, _DefaultStreamer, _DefaultAccount, _DefaultZone, _DefaultZoneThirdPartner, _DefaultZoneCollaborator) _DefaultStreamerAcct = logic.NewStreamerAcct(store)