Skip to main content

ncm_api_rs/api/
threshold_detail_get.rs

1use super::Query;
2use crate::error::Result;
3/// 获取达人达标信息
4/// 对应 Node.js module/threshold_detail_get.js
5use crate::request::{ApiClient, ApiResponse, CryptoType};
6use serde_json::json;
7
8impl ApiClient {
9    /// 获取达人达标信息
10    /// 对应 /threshold/detail/get
11    pub async fn threshold_detail_get(&self, query: &Query) -> Result<ApiResponse> {
12        let data = json!({});
13        self.request(
14            "/api/influencer/web/apply/threshold/detail/get",
15            data,
16            query.to_option(CryptoType::default()),
17        )
18        .await
19    }
20}