WH01243 2 سال پیش
والد
کامیت
82b7fdcb1c
1فایلهای تغییر یافته به همراه1 افزوده شده و 5 حذف شده
  1. 1 5
      middleground/publicservice.go

+ 1 - 5
middleground/publicservice.go

@@ -77,12 +77,8 @@ func (p *publicService) List(searchValue, dataType string, pageNum, pageSize int
 	result["list"] = arr
 	result["list"] = arr
 	result["fieldIllustrate"] = resp.FieldIllustrate
 	result["fieldIllustrate"] = resp.FieldIllustrate
 	result["hotKeys"] = resp.HotKeys
 	result["hotKeys"] = resp.HotKeys
-	wordMap := map[string]string{}
-	for _, v := range resp.FieldIllustrate {
-		wordMap[v.Code] = v.Name
-	}
 	result["searchValue"] = searchValue
 	result["searchValue"] = searchValue
-	result["dataTypeStr"] = wordMap[dataType]
+	//result["dataTypeStr"] = wordMap[dataType]
 	return result
 	return result
 }
 }
 func (p *publicService) Detail(id string) map[string]interface{} {
 func (p *publicService) Detail(id string) map[string]interface{} {