From e247d6ce0882b63478e418005f19131103c4cda5 Mon Sep 17 00:00:00 2001 From: Syd Xu Date: Tue, 10 Oct 2023 14:42:45 +0800 Subject: [PATCH] fix(eventmanager): issus ##54 --- marketing-api/model/eventmanager/track_url_get.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/marketing-api/model/eventmanager/track_url_get.go b/marketing-api/model/eventmanager/track_url_get.go index 4bfd918f..7d057885 100644 --- a/marketing-api/model/eventmanager/track_url_get.go +++ b/marketing-api/model/eventmanager/track_url_get.go @@ -11,8 +11,8 @@ import ( type TrackURLGetRequest struct { // AdvertiserID 广告主ID AdvertiserID uint64 `json:"advertiser_id,omitempty"` - // AssetsID 资产ID - AssetsID uint64 `json:"assets_id,omitempty"` + // AssetID 资产ID + AssetID uint64 `json:"asset_id,omitempty"` // DownloadURL 应用下载链接,应用下载链接,IOS和安卓应用资产:必填 DownloadURL string `json:"download_url,omitempty"` // TrackURLGroupName 监测链接组名称 @@ -29,7 +29,7 @@ type TrackURLGetRequest struct { func (r TrackURLGetRequest) Encode() string { values := util.GetUrlValues() values.Set("advertiser_id", strconv.FormatUint(r.AdvertiserID, 10)) - values.Set("assets_id", strconv.FormatUint(r.AssetsID, 10)) + values.Set("asset_id", strconv.FormatUint(r.AssetID, 10)) if r.DownloadURL != "" { values.Set("download_url", r.DownloadURL) }