|
@@ -60,7 +60,6 @@ func (p *publicService) List(searchValue, dataType string, pageNum, pageSize int
|
|
|
log.Println(err)
|
|
|
return nil
|
|
|
}
|
|
|
-
|
|
|
result := map[string]interface{}{}
|
|
|
result["PageCount"] = resp.PageCount
|
|
|
arr := []map[string]interface{}{}
|
|
@@ -78,7 +77,7 @@ func (p *publicService) List(searchValue, dataType string, pageNum, pageSize int
|
|
|
result["fieldIllustrate"] = resp.FieldIllustrate
|
|
|
result["hotKeys"] = resp.HotKeys
|
|
|
result["searchValue"] = searchValue
|
|
|
- //result["dataTypeStr"] = wordMap[dataType]
|
|
|
+ result["dataTypeStr"] = resp.DataTypeStr
|
|
|
return result
|
|
|
}
|
|
|
func (p *publicService) Detail(id string) map[string]interface{} {
|