浏览代码

新增。rust仓位检查接口

hl 8 月之前
父节点
当前提交
80d254a254
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/robot.js

+ 1 - 1
src/robot.js

@@ -362,7 +362,7 @@ async function searchPositions(param) {
         const asName = appPath + "/" + newAppName
         const configPath = appPath + "/" + configName
         const appPort = param.callPort
-        const command = `sudo ${asName} --config=${configPath} --port=${appPort} --run_mode=1 --robot_id=${checkId}`
+        const command = `sudo ${asName} --config=${configPath} --port=${appPort} --run_mode=1 --check_id=${checkId}`
 
         exec(command, (error, stdout, stderr) => {
             if (error) {