feat 协议移动到Public
This commit is contained in:
@@ -2,8 +2,7 @@ package server
|
||||
|
||||
import (
|
||||
"common/log"
|
||||
"common/proto/gen/common"
|
||||
"common/proto/gen/grpc_pb"
|
||||
"common/proto/ss/grpc_pb"
|
||||
"context"
|
||||
"scene/instance"
|
||||
"sync"
|
||||
@@ -52,5 +51,5 @@ func (s *Server) Action(server grpc_pb.Scene_ActionServer) error {
|
||||
}
|
||||
}()
|
||||
wg.Wait()
|
||||
return server.SendAndClose(&common.Empty{})
|
||||
return server.SendAndClose(&grpc_pb.ActionResp{})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user