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