更新依赖和调整目录结构,未修改模块

This commit is contained in:
2026-09-14 22:17:59 +08:00
parent 63aeedc2fe
commit 13e4b8e363
70 changed files with 3092 additions and 90 deletions

View File

@@ -0,0 +1,20 @@
package service
import (
moduleService "bsm/full/module/ec/order/service"
"bsm/full/pkgs/all/internal/impl"
"bsm/full/pkgs/all/internal/server"
)
func exposeOrder(srv *server.Server) error {
return moduleService.Expose(moduleService.ExposeOptions{
Dependencies: moduleService.Dependencies{
Redis: impl.RedisService,
Etcd: impl.EtcdService,
DB: impl.DBService,
Cache: impl.MemoryService,
},
GRPC: srv.GRPC,
Gateway: srv.Gateway,
})
}