Browse Source

更新

master
huangjiajun 1 year ago
parent
commit
7fc574face
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      dataoke/dataoke.go

+ 3
- 0
dataoke/dataoke.go View File

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


Loading…
Cancel
Save