Browse Source

smm新增指标时判断方式修改

zwxi 5 months ago
parent
commit
df3bd82f93
1 changed files with 1 additions and 1 deletions
  1. 1 1
      services/base_from_smm.go

+ 1 - 1
services/base_from_smm.go

@@ -235,7 +235,7 @@ func SmmIndexHandle(baseFilePath, renameFilePath, indexName, indexCode, unit, fr
 }
 
 func GetEdbDataFromSmm(edbCode string) (smmBaseDataAll []models.BaseFromSmmDataList, err error) {
-	if utils.BusinessCode == "E2023110300" {
+	if utils.SmmDataMethod == "api" {
 		return GetSmmNewIndexFromBridge(edbCode)
 	}