|
|
@@ -7,12 +7,13 @@ import ( |
|
|
|
) |
|
|
|
|
|
|
|
type TikTokUrlData struct { |
|
|
|
Deeplink string `json:"deeplink"` |
|
|
|
Content string `json:"content"` |
|
|
|
QrCode string `json:"qr_code"` |
|
|
|
Link string `json:"link"` |
|
|
|
AppId string `json:"app_id"` |
|
|
|
PageUrl string `json:"page_url"` |
|
|
|
Deeplink string `json:"deeplink"` |
|
|
|
Content string `json:"content"` |
|
|
|
QrCode string `json:"qr_code"` |
|
|
|
Link string `json:"link"` |
|
|
|
AppId string `json:"app_id"` |
|
|
|
PageUrl string `json:"page_url"` |
|
|
|
ShareLink string `json:"share_link"` |
|
|
|
} |
|
|
|
|
|
|
|
func TikTokUrl(tikTokArgs map[string]interface{}) (*md.ConvertedUrls, error) { |
|
|
@@ -40,6 +41,7 @@ func TikTokUrl(tikTokArgs map[string]interface{}) (*md.ConvertedUrls, error) { |
|
|
|
NoOpenAppURL: tmp.Data.Deeplink, |
|
|
|
AppURL: tmp.Data.Deeplink, |
|
|
|
ClickUrl: tmp.Data.Deeplink, |
|
|
|
H5Url: tmp.Data.ShareLink, |
|
|
|
QrcodeUrl: tmp.Data.QrCode, |
|
|
|
Content: content, |
|
|
|
}, nil |
|
|
|