|
|
@@ -48,7 +48,7 @@ pub struct Trade {
|
|
|
}
|
|
|
|
|
|
// 句柄 GET 请求
|
|
|
-#[get("/get_symbols")]
|
|
|
+#[get("/ia/get_symbols")]
|
|
|
async fn get_symbols_by_filter() -> impl Responder {
|
|
|
let response = Response {
|
|
|
query_string: Value::Null,
|
|
|
@@ -61,7 +61,7 @@ async fn get_symbols_by_filter() -> impl Responder {
|
|
|
HttpResponse::BadRequest().content_type("application/json").body(json_string)
|
|
|
}
|
|
|
|
|
|
-#[get("/get_indicator")]
|
|
|
+#[get("/ia/get_indicator")]
|
|
|
async fn get_indicator(query: web::Query<IndicatorQuery>) -> impl Responder {
|
|
|
// 客户端传过来的数据校验
|
|
|
if query.validate() {
|