2
0

2 Коммитууд b597132046 ... 2ffbaac466

Эзэн SHA1 Мессеж Огноо
  zxs 2ffbaac466 Merge branch 'master' of http://119.29.133.113:3001/yingjiekeji/robot 2 өдөр өмнө
  zxs ba85bc7da7 #bug 2 өдөр өмнө

+ 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, "", "");
                 }
             }
             /**