|
@@ -100,6 +100,9 @@ func GetSearchGoodsDetail(keyArr map[string]string, param map[string]interface{} |
|
|
json.Unmarshal([]byte(send), &res) |
|
|
json.Unmarshal([]byte(send), &res) |
|
|
data := make([]map[string]string, 0) |
|
|
data := make([]map[string]string, 0) |
|
|
for _, v := range res.GoodsSearchResponse.GoodsList { |
|
|
for _, v := range res.GoodsSearchResponse.GoodsList { |
|
|
|
|
|
if v.GoodsName == "" { |
|
|
|
|
|
continue |
|
|
|
|
|
} |
|
|
tmp := make(map[string]string) |
|
|
tmp := make(map[string]string) |
|
|
tmp["gid"] = zhios_third_party_utils.Int64ToStr(v.GoodsId) |
|
|
tmp["gid"] = zhios_third_party_utils.Int64ToStr(v.GoodsId) |
|
|
tmp["goods_title"] = v.GoodsName |
|
|
tmp["goods_title"] = v.GoodsName |
|
|