分类

parent d8f4b6a9
Showing with 2 additions and 0 deletions
...@@ -168,9 +168,11 @@ func (qs *OptimumService) GetOptimumAttr(ctx *gin.Context) (results model.LyResp ...@@ -168,9 +168,11 @@ func (qs *OptimumService) GetOptimumAttr(ctx *gin.Context) (results model.LyResp
attrValueArr = append(attrValueArr, attr_value_id+"€"+attr_value_name+"€"+ischeck) attrValueArr = append(attrValueArr, attr_value_id+"€"+attr_value_name+"€"+ischeck)
} }
if len(attrValueArr) >0 {
aggs.Set(attr_name_id+"€"+attr_name, attrValueArr) aggs.Set(attr_name_id+"€"+attr_name, attrValueArr)
} }
} }
}
A.Set("aggs", aggs) A.Set("aggs", aggs)
results.Data = A results.Data = A
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment