浏览代码

上报地址修改!

hl 1 年之前
父节点
当前提交
49bce3ecc7
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/robot.js

+ 2 - 1
src/robot.js

@@ -37,7 +37,7 @@ function getApp(key) {
         id: -1,
         id: -1,
         port: -1,
         port: -1,
         childProcess: undefined,
         childProcess: undefined,
-        nowBalance: 0,
+        nowBalance: 0.0,
         messlist: [],
         messlist: [],
         threadStatus: RobotStatus.STOPPED,
         threadStatus: RobotStatus.STOPPED,
         errorMessage: "成功",
         errorMessage: "成功",
@@ -263,6 +263,7 @@ async function run(param) {
             app.nowBalance = 0
             app.nowBalance = 0
         });
         });
         app.threadStatus = RobotStatus.RUNNING
         app.threadStatus = RobotStatus.RUNNING
+        robotStatus(app)
         return resolve(true)
         return resolve(true)
     })
     })
 }
 }