Explorar o código

启动参数修改

hl hai 1 ano
pai
achega
8a47056bc1
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      strategy/src/clear_core.rs

+ 1 - 2
strategy/src/clear_core.rs

@@ -635,8 +635,7 @@ pub async fn send_clear_msg_request(body_params: &ClearPositionResult) {
     // 创建请求头
     let mut headers = HeaderMap::new();
     headers.insert(CONTENT_TYPE, HeaderValue::from_static("application/json"));
-    headers.insert("report_token", HeaderValue::from_static("r7T$8gBV!f&L@E2+"));
-    headers.insert("report_token22222", HeaderValue::from_static("r7T$8gBV!f&L@E2+"));
+    headers.insert("report-token", HeaderValue::from_static("r7T$8gBV!f&L@E2+"));
     headers.insert("auth", HeaderValue::from_static("4L"));
 
     let body = serde_json::to_string(&body_params).unwrap();