feat 历史记录

This commit is contained in:
2026-01-14 18:15:43 +08:00
parent 3750ff1c34
commit 1caf9f32ea
6 changed files with 6 additions and 8 deletions

View File

@@ -3,7 +3,7 @@ package app
import (
"git.hlsq.asia/mmorpg/service-common/net/grpc/service"
"git.hlsq.asia/mmorpg/service-user/config"
"git.hlsq.asia/mmorpg/service-user/internal/grpc_server/server"
"git.hlsq.asia/mmorpg/service-user/internal/grpc_server"
)
// ModuleGrpcServer Grpc服务模块
@@ -16,7 +16,7 @@ func (m *ModuleGrpcServer) init() error {
}
func (m *ModuleGrpcServer) start() error {
m.server = server.NewServer(config.Get().Serve.Grpc.TTL)
m.server = grpc_server.NewServer(config.Get().Serve.Grpc.TTL)
m.server.Init(config.Get().Serve.Grpc.Address, config.Get().Serve.Grpc.Port)
return nil
}