hsun 1 жил өмнө
parent
commit
6fad56f969

+ 2 - 0
services/init_base_index.go

@@ -307,6 +307,8 @@ func InitBaseIndexData(dataPath string) {
 						method = "ths/refresh"
 					case "彭博":
 						method = "pb/refresh"
+					case "路透":
+						method = "lt/refresh"
 					case "":
 
 					}

+ 1 - 0
services/task.go

@@ -24,6 +24,7 @@ func Task() {
 	IndexSourceMap["钢联"] = utils.DATA_SOURCE_MYSTEEL_CHEMICAL
 	IndexSourceMap["彭博"] = utils.DATA_SOURCE_PB
 	IndexSourceMap["SMM"] = utils.DATA_SOURCE_YS
+	IndexSourceMap["路透"] = utils.DATA_SOURCE_LT
 
 	fmt.Println("task end")
 }