feat: 增加 接口相关更新

This commit is contained in:
zhangxiangliang 2020-08-05 23:33:04 +08:00
parent 2777acb3d1
commit a6b26123d5
11 changed files with 15 additions and 15 deletions

View File

@ -1,5 +1,5 @@
// Types
import Stock from "types/stock";
import Stock from "types/utils/stock";
/**
*

View File

@ -2,12 +2,12 @@
import { SZ, SH, HK, US } from "@utils/constant";
// Types
import Transform from "types/transform";
import ExchangeTransform from "types/stocks/transforms/exchange";
/**
*
*/
class BaseExchangeTransform implements Transform {
class BaseExchangeTransform implements ExchangeTransform {
/**
*
*/

View File

@ -1,5 +1,5 @@
// Types
import Stock from "types/stock";
import Stock from "types/utils/stock";
/**
*

View File

@ -7,7 +7,7 @@ import NeteaseExchangeTransform from "@stocks/netease/transforms/exchange";
import fetch from "@utils/fetch";
// Types
import Stock from "types/stock";
import Stock from "types/utils/stock";
/**
*

View File

@ -2,8 +2,8 @@
import BaseStockTransform from "@stocks/base/transforms/stock";
// Types
import Stock from "types/stock";
import Dictionary from "types/dictionary";
import Stock from "types/utils/stock";
import Dictionary from "types/utils/dictionary";
/**
*

View File

@ -8,7 +8,7 @@ import fetch from "@utils/fetch";
import iconv from "@utils/iconv";
// Types
import Stock from "types/stock";
import Stock from "types/utils/stock";
/**
*

View File

@ -5,7 +5,7 @@ import BaseStockTransform from "@stocks/base/transforms/stock";
import { SZ, HK, US, SH } from "@utils/constant";
// Types
import Stock from "types/stock";
import Stock from "types/utils/stock";
/**
*

View File

@ -8,7 +8,7 @@ import fetch from "@utils/fetch";
import iconv from "@utils/iconv";
// Types
import Stock from "types/stock";
import Stock from "types/utils/stock";
/**
*

View File

@ -2,7 +2,7 @@
import BaseStockTransform from "@stocks/base/transforms/stock";
// Types
import Stock from "types/stock";
import Stock from "types/utils/stock";
/**
*

View File

@ -7,8 +7,8 @@ import XueqiuExchangeTransform from "@stocks/xueqiu/transforms/exchange";
import fetch from "@utils/fetch";
// Types
import Stock from "types/stock";
import Dictionary from "types/dictionary";
import Stock from "types/utils/stock";
import Dictionary from "types/utils/dictionary";
/**
*

View File

@ -2,8 +2,8 @@
import BaseStockTransform from "@stocks/base/transforms/stock";
// Types
import Stock from "types/stock";
import Dictionary from "types/dictionary";
import Stock from "types/utils/stock";
import Dictionary from "types/utils/dictionary";
/**
*