|
@@ -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)
|
|
})
|
|
})
|
|
}
|
|
}
|