huangjiajun 2 weeks ago
parent
commit
0babff5f36
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      chanxuanTikTok/api.go
  2. +1
    -1
      chanxuanTikTok/md.go

+ 1
- 1
chanxuanTikTok/api.go View File

@@ -33,7 +33,7 @@ func GetGoodsUrl(acctoken, userId string, args map[string]string) ChanxuanTikTok
args["user_id"] = userId args["user_id"] = userId
send, _ := SendPost("/jx/v1/partner/dklive/shareProductLink", acctoken, args) send, _ := SendPost("/jx/v1/partner/dklive/shareProductLink", acctoken, args)
var list ChanxuanTikTokGoodsUrl var list ChanxuanTikTokGoodsUrl
str := gjson.Get(send, "data.data").String()
str := gjson.Get(send, "data").String()
json.Unmarshal([]byte(str), &list) json.Unmarshal([]byte(str), &list)
return list return list
} }


+ 1
- 1
chanxuanTikTok/md.go View File

@@ -17,7 +17,7 @@ type ChanxuanTikTokGoods struct {
} }
type ChanxuanTikTokGoodsUrl struct { type ChanxuanTikTokGoodsUrl struct {
DkPassword string `json:"dk_password"` DkPassword string `json:"dk_password"`
DkCode_img string `json:"dk_code_img"`
DkCodeImg string `json:"dk_code_img"`
DyDeeplink string `json:"dy_deeplink"` DyDeeplink string `json:"dy_deeplink"`
DySharelink string `json:"dy_sharelink"` DySharelink string `json:"dy_sharelink"`
} }


Loading…
Cancel
Save