DESKTOP-NE65RNK\Citrus_limon 3 months ago
parent
commit
99cc402044
1 changed files with 6 additions and 6 deletions
  1. 6 6
      src/api/index.ts

+ 6 - 6
src/api/index.ts

@@ -1,36 +1,36 @@
 import http from "@/utils/request";
 
 export const get_exchange = (params: any, callback: any) => {
-  return http.request("/priceCollect/api/getExchange", "get", params).then((data) => {
+  return http.request("/priceCollect/api/getExchange", "get", params).then((data: any) => {
     if (data) callback && callback(data);
   });
 };
 export const get_coin = (params: any, callback: any) => {
-  return http.request("/priceCollect/api/getCoin", "get", params).then((data) => {
+  return http.request("/priceCollect/api/getCoin", "get", params).then((data: any) => {
     if (data) callback && callback(data);
   });
 };
 
 export const get_depth = (params: any, callback: any) => {
-  return http.request("/priceCollect/api/getPrices", "get", params).then((data) => {
+  return http.request("/priceCollect/api/getPrices", "get", params).then((data: any) => {
     if (data) callback && callback(data);
   });
 };
 
 export const get_incremental_depth = (params: any, callback: any) => {
-  return http.request("/priceCollect/api/getAddPrices", "get", params).then((data) => {
+  return http.request("/priceCollect/api/getAddPrices", "get", params).then((data: any) => {
     if (data) callback && callback(data);
   });
 };
 
 export const get_hot_list = (params: any, callback: any) => {
-  return http.request("/hotCollect/api/getHot", "get", params).then((data) => {
+  return http.request("/hotCollect/api/getHot", "get", params).then((data: any) => {
     if (data) callback && callback(data);
   });
 };
 
 export const get_hotMonitoring_list = (params: any, callback: any) => {
-  return http.request("/hotCollect/api/getHotMonitoring", "get", params).then((data) => {
+  return http.request("/hotCollect/api/getHotMonitoring", "get", params).then((data: any) => {
     if (data) callback && callback(data);
   });
 };