Explorar o código

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

hl hai 5 meses
pai
achega
5b50e4db0d
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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": "机器人不存在"});