Browse Source

fix: ths高频数据unicode

hsun 8 months ago
parent
commit
d9a0a0d256
1 changed files with 1 additions and 0 deletions
  1. 1 0
      services/base_from_ths_hf.go

+ 1 - 0
services/base_from_ths_hf.go

@@ -389,6 +389,7 @@ func WriteRefreshBaseThsHfIndex(indexItem *models.BaseFromThsHfIndex, codeWithDa
 		newData.Value = newVal
 		newData.CreateTime = time.Now()
 		newData.ModifyTime = time.Now()
+		newData.UniqueCode = uni
 		newData.DataTimestamp = d.DataTime.UnixNano() / 1e6
 		insertData = append(insertData, newData)
 	}