Browse Source

Merge branch 'hotfix/bug8078_edb_unit' into debug

xyxie 2 days ago
parent
commit
8397b60fc8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      models/target.go

+ 1 - 1
models/target.go

@@ -306,7 +306,7 @@ func GetEdbinfoItemList(condition string, pars []interface{}, startSize, pageSiz
 
 // EdbParamsInfo 指标数据结构体
 type EdbParamsInfo struct {
-	Unit      string `gorm:"column(UNIT);" description:"单位" gorm:"column:UNIT"`
+	Unit      string `description:"单位" gorm:"column:UNIT"`
 	Frequency string `gorm:"column:frequency;" description:"单位"`
 }