|
@@ -44,7 +44,7 @@ func (u *publicService) NewClient() zrpc.Client {
|
|
return client
|
|
return client
|
|
}
|
|
}
|
|
|
|
|
|
-//列表数据处理
|
|
|
|
|
|
+// 列表数据处理
|
|
func (p *publicService) List(searchValue, dataType string, pageNum, pageSize int64) map[string]interface{} {
|
|
func (p *publicService) List(searchValue, dataType string, pageNum, pageSize int64) map[string]interface{} {
|
|
client := p.NewClient()
|
|
client := p.NewClient()
|
|
if client == nil {
|
|
if client == nil {
|
|
@@ -101,6 +101,6 @@ func (p *publicService) Detail(id string) map[string]interface{} {
|
|
result["introduce"] = resp.Introduce
|
|
result["introduce"] = resp.Introduce
|
|
result["format"] = resp.Format
|
|
result["format"] = resp.Format
|
|
result["keyword"] = resp.Keyword
|
|
result["keyword"] = resp.Keyword
|
|
- result["fieldIllustrate"] = resp.FieldIllustrate
|
|
|
|
|
|
+ result["application"] = resp.FieldIllustrate.Application
|
|
return result
|
|
return result
|
|
}
|
|
}
|