Browse Source

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

hl 5 months ago
parent
commit
5b50e4db0d
1 changed files with 1 additions and 0 deletions
  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": "机器人不存在"});