|
@@ -154,7 +154,7 @@ function init() {
|
|
|
http.request_get(`${accUrl}/predictor_state`, {...config.headers})
|
|
|
.then((data) => {
|
|
|
logger.info(`#####################返回数据:`,data)
|
|
|
- res.send({'code': 200, 'data': data, "message": "SUCCESS"});
|
|
|
+ res.send({'code': 200, 'data': JSON.parse(data), "message": "SUCCESS"});
|
|
|
}).catch((error) => {
|
|
|
|
|
|
logger.info(`#####################汇报:获取状态请求失败: ${error.message}`)
|