ソースを参照

Merge branch 'dev' into test

skyfffire 1 年間 前
コミット
438f256c86
1 ファイル変更4 行追加1 行削除
  1. 4 1
      strategy/src/strategy.rs

+ 4 - 1
strategy/src/strategy.rs

@@ -1255,7 +1255,10 @@ async fn market_warehouse_request(body_params: String) {
     let req = client.post(url).header("auth", "43626546liangjiang")
         .header("Content-Type", "application/json").body(body_params.clone());
 
-    req.send().await.unwrap();
+    match req.send().await {
+        Ok(_) => {}
+        Err(_) => {}
+    };
     // if !response.status().is_success()  {
     //     error!("行情数据------仓库挂单数据存储失败--------!{}", response.status());
     //     error!(body_params);