Browse Source

新增。rust仓位检查接口

hl 8 tháng trước cách đây
mục cha
commit
297827caea
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/web.js

+ 1 - 0
src/web.js

@@ -126,6 +126,7 @@ function init() {
     app.get('/searchPositions', (req, res) =>{
     app.get('/searchPositions', (req, res) =>{
         res.send({'code': 200, 'data': true, "message": "SUCCESS"});
         res.send({'code': 200, 'data': true, "message": "SUCCESS"});
         const param = req.body;
         const param = req.body;
+        logger.info('--searchPositions:'+param);
         robot.searchPositions(param)
         robot.searchPositions(param)
     })
     })
     // 使服务器监听特定端口
     // 使服务器监听特定端口