From d2de04d1ac622f26b53db9d40f4062e9914f480c Mon Sep 17 00:00:00 2001 From: suyl <770236076@qq.com> Date: Tue, 11 May 2021 08:41:03 +0800 Subject: [PATCH] aa --- platformapi/tbunionapi/union.go | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/platformapi/tbunionapi/union.go b/platformapi/tbunionapi/union.go index cb1ecfbe..a5e16324 100644 --- a/platformapi/tbunionapi/union.go +++ b/platformapi/tbunionapi/union.go @@ -22,15 +22,13 @@ func (a *API) AdzoneCreate(sid int64, adzoneName string) (err error) { } type ActivityInfoGetResult struct { - TbkActivityInfoGetResponse struct { - Data struct { - ClickURL string `json:"click_url"` - ShortClickURL string `json:"short_click_url"` - WxMiniprogramPath string `json:"wx_miniprogram_path"` - WxQrcodeURL string `json:"wx_qrcode_url"` - } `json:"data"` - RequestID string `json:"request_id"` - } `json:"tbk_activity_info_get_response"` + Data struct { + ClickURL string `json:"click_url"` + ShortClickURL string `json:"short_click_url"` + WxMiniprogramPath string `json:"wx_miniprogram_path"` + WxQrcodeURL string `json:"wx_qrcode_url"` + } `json:"data"` + RequestID string `json:"request_id"` } //官方活动转链