Browse Source

Merge branch 'custom'

xyxie 6 months ago
parent
commit
e8f8ca6a4f
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)
 	}