Browse Source

新增-新策略对应 获取机器人状态接口

hl 5 tháng trước cách đây
mục cha
commit
5b50e4db0d
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/web.js

+ 1 - 0
src/web.js

@@ -146,6 +146,7 @@ function init() {
 
         if (port !== -1) {
             let data = robot.predictorState(port)
+            logger.info('#####################-ok');
             res.send(data);
         } else {
             res.send({'code': -1, 'data': null, "message": "机器人不存在"});