|
@@ -91,6 +91,9 @@ func DataokeTikTokRankList(params map[string]string) []map[string]string { |
|
|
json.Unmarshal([]byte(data), &oldGoods) |
|
|
json.Unmarshal([]byte(data), &oldGoods) |
|
|
for _, v := range oldGoods { |
|
|
for _, v := range oldGoods { |
|
|
pvd := md.PVD_TIKTOK |
|
|
pvd := md.PVD_TIKTOK |
|
|
|
|
|
if v.ItemImg == "" && len(v.Imgs) > 0 { |
|
|
|
|
|
v.ItemImg = v.Imgs[0] |
|
|
|
|
|
} |
|
|
var tmp = map[string]string{ |
|
|
var tmp = map[string]string{ |
|
|
"gid": v.ID, |
|
|
"gid": v.ID, |
|
|
"title": v.Title, |
|
|
"title": v.Title, |
|
|