feat 历史记录

This commit is contained in:
2026-01-14 18:15:40 +08:00
parent 90dd60e6c6
commit d885998067
11 changed files with 519 additions and 185 deletions

View File

@@ -3,7 +3,7 @@ package app
import (
"git.hlsq.asia/mmorpg/service-common/net/grpc/service"
"git.hlsq.asia/mmorpg/service-qgdzs/config"
"git.hlsq.asia/mmorpg/service-qgdzs/internal/grpc_server/server"
"git.hlsq.asia/mmorpg/service-qgdzs/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
}