This commit is contained in:
flswld committed 2024-08-23 15:13:55 +08:00
1 parent f1f8d2e00c
commit 565243bfe7
7 files changed
+131 -71

No files matched your search

+1 -2
View File
@@ -59,8 +59,7 @@ func (h *Handle) QueryPath(userId uint32, gateAppId string, payloadMsg pb.Messag
if !ok {
queryPathRsp := &proto.QueryPathRsp{
QueryId: req.QueryId,
QueryStatus: proto.QueryPathRsp_STATUS_SUCC,
Corners: []*proto.Vector{req.DestinationPos[0]},
QueryStatus: proto.QueryPathRsp_STATUS_FAIL,
}
h.SendMsg(cmd.QueryPathRsp, userId, gateAppId, queryPathRsp)
return