feat: 增加 股票数据解析获取代码统一大写

This commit is contained in:
zhangxiangliang 2020-08-24 00:16:49 +08:00
parent 60bec3551b
commit 1516d6d95f
4 changed files with 4 additions and 4 deletions

View File

@ -23,7 +23,7 @@ class NeteaseStockTransform extends BaseStockTransform {
* *
*/ */
getCode(): string { getCode(): string {
return String(this.code); return String(this.code).toUpperCase();
} }
/** /**

View File

@ -23,7 +23,7 @@ class SinaStockTransform extends BaseStockTransform {
* *
*/ */
getCode(): string { getCode(): string {
return String(this.code); return String(this.code).toUpperCase();
} }
/** /**

View File

@ -22,7 +22,7 @@ class TencentStockTransform extends BaseStockTransform {
* *
*/ */
getCode(): string { getCode(): string {
return String(this.code); return String(this.code).toUpperCase();
} }
/** /**

View File

@ -23,7 +23,7 @@ class XueqiuStockTransform extends BaseStockTransform {
* *
*/ */
getCode(): string { getCode(): string {
return String(this.code); return String(this.code).toUpperCase();
} }
/** /**