Browse Source

上报地址修改!

hl 1 year ago
parent
commit
49bce3ecc7
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/robot.js

+ 2 - 1
src/robot.js

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