Browse Source

更新

master
huangjiajun 1 year ago
parent
commit
b0b6929df6
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      dataoke/dataoke.go

+ 4
- 1
dataoke/dataoke.go View File

@@ -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{


Loading…
Cancel
Save