Browse Source

上报地址修改!

hl 10 months ago
parent
commit
515c3919d0
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/web.js

+ 3 - 1
src/web.js

@@ -73,7 +73,9 @@ function init() {
 
 
     //简单三个接口,为了方便使用get请求
-    app.get('/isOK', isOK);
+    app.get('/isOK', (req, res) => {
+        res.send({'code': 200, 'data': true, "message": "SUCCESS"});
+    });
     app.get('/logs', (req, res) => {
         // 获取发送过来的信息(请求体的数据)
         const param = req.query;