|
@@ -522,8 +522,6 @@ function downloadFileWithLinux(url, destination, headers, funBreak) {
|
|
// 上报-机器人状态
|
|
// 上报-机器人状态
|
|
function robotStatus(app) {
|
|
function robotStatus(app) {
|
|
var config = getRustConfig()
|
|
var config = getRustConfig()
|
|
- logger.info('要?????????????汇报:状态:', '机器人id:', app.id, '状态:', app.threadStatus);
|
|
|
|
-
|
|
|
|
var msg = (app.threadStatus !== RobotStatus.ERROR ? "完成" : app.errorMessage)
|
|
var msg = (app.threadStatus !== RobotStatus.ERROR ? "完成" : app.errorMessage)
|
|
http.request_post(`${config.baseUrl}/report/statusReport`, {
|
|
http.request_post(`${config.baseUrl}/report/statusReport`, {
|
|
"robotId": app.id,
|
|
"robotId": app.id,
|