推进P1聊天通知与凭证应用端口迁移
This commit is contained in:
1 parent
25531c05cb
commit
550aee8aae
17 files changed
+1677
-289
No files matched your search
@@ -28,6 +28,8 @@ type applicationServices struct {
|
||||
chat *chatapp.Service
|
||||
// uncertainNotifications 是通知不确定状态运维查询应用服务。
|
||||
uncertainNotifications *notificationsapp.Service
|
||||
// notificationChannels 是通知渠道 CRUD 与账号绑定应用服务。
|
||||
notificationChannels *notificationsapp.ChannelService
|
||||
// analytics 是订单分析应用服务。
|
||||
analytics *analyticsService
|
||||
}
|
||||
@@ -73,8 +75,9 @@ func newApplicationServices(server *Server) *applicationServices {
|
||||
accountLogin: &accountLoginService{server: server, repository: newStoreAccountLoginRepository(server.Store), createApplication: accountLoginCreate, qrApplication: accountQRLogin},
|
||||
accountProfile: accountProfile,
|
||||
communication: &communicationService{server: server, repository: newStoreCommunicationRepository(server.Store)},
|
||||
chat: chatapp.New(newStoreChatApplicationRepository(server.Store)),
|
||||
chat: newChatSendingApplication(server),
|
||||
uncertainNotifications: notificationsapp.New(newStoreNotificationUncertainRepository(server.Store)),
|
||||
notificationChannels: notificationsapp.NewChannelService(newStoreNotificationChannelRepository(server.Store), server.notifier),
|
||||
analytics: &analyticsService{repository: newStoreAnalyticsRepository(server.Store)},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user