2
0

2 Commits b597132046 ... 2ffbaac466

Autor SHA1 Nachricht Datum
  zxs 2ffbaac466 Merge branch 'master' of http://119.29.133.113:3001/yingjiekeji/robot vor 2 Tagen
  zxs ba85bc7da7 #bug vor 2 Tagen
1 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  1. 3 3
      robot/robotics/nexus_net_client.hpp

+ 3 - 3
robot/robotics/nexus_net_client.hpp

@@ -814,7 +814,7 @@ namespace robotics {
             /**
              * @brief 授权状态
              */
-            v3::delegates<bool, std::string const&, std::string const&> authorized_event;
+            v3::delegates<bool, std::string const&, std::string const&> authorize_event;
             /**
              * @brief 连接断开
              */
@@ -935,11 +935,11 @@ namespace robotics {
                 std::string message;
                 data.args >> is_heartbeat_ >> parent_code_ >> parent_name_ >> node_name >> message;
                 if (is_heartbeat_) {
-                    authorized_event(true, parent_code_, parent_name_);
+                    authorize_event(true, parent_code_, parent_name_);
                     subscribe();
                 }
                 else {
-                    authorized_event(false, "", "");
+                    authorize_event(false, "", "");
                 }
             }
             /**