From 2064f4841399b3ce874bad85b7a1bb9edb31b544 Mon Sep 17 00:00:00 2001 From: zqj <582132116@qq.com> Date: Wed, 16 Feb 2022 14:27:38 +0800 Subject: [PATCH] update readme.md --- README.md | 8 ++++---- actions/roleaction.go | 2 -- protos | 2 +- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 61c71e5..3f0125c 100644 --- a/README.md +++ b/README.md @@ -3,12 +3,12 @@ ## 技术点 * grpc -* http2 -* golang +* golang1.7 +* grpc 热更 + +组件 * mongo - * etcd -* grpc 热更 * proto gorm 查询 ## 环境安装 diff --git a/actions/roleaction.go b/actions/roleaction.go index d9ed160..15fde3f 100644 --- a/actions/roleaction.go +++ b/actions/roleaction.go @@ -8,7 +8,6 @@ import ( "pro2d/models" "pro2d/protos/pb" "pro2d/utils" - "time" ) func (s *GameServer) HeartBeatHandler(ctx context.Context, in *pb.Token) (*pb.PubRsp, error) { @@ -48,7 +47,6 @@ func (s *GameServer) CreateRoleHandler(ctx context.Context, in *pb.Token) (*pb.R if !ok { role.Role = &pb.Role{ Level: 0, - LoginTime: time.Now().Unix(), Device: account.Device, Uid: account.Uid, } diff --git a/protos b/protos index d516609..5e17b38 160000 --- a/protos +++ b/protos @@ -1 +1 @@ -Subproject commit d516609ff4f953215abbf96e5458687ed6491a2d +Subproject commit 5e17b3850ca4465a7d824b8a268f38fc7ac3a9ac -- libgit2 0.21.2