阶段八:完成订单应用服务repository与事务收口

This commit is contained in:
Christ committed 2026-08-15 03:07:05 +08:00
1 parent f613bb4eb8
commit 6f8356ba4c
5 files changed
+739 -562

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ type applicationServices struct {
// newApplicationServices 为指定 Server 装配全部应用服务实例。
func newApplicationServices(server *Server) *applicationServices {
return &applicationServices{
orders: &orderApplicationService{server: server},
orders: &orderApplicationService{server: server, repository: newStoreOrderRepository(server.Store)},
itemPublish: &itemPublishService{server: server},
accountLogin: &accountLoginService{server: server},
communication: &communicationService{server: server, repository: newStoreCommunicationRepository(server.Store)},