From 6ecb0d4998fc631f1d0eee58ac38fc48c0d139c7 Mon Sep 17 00:00:00 2001 From: Syd Xu Date: Tue, 30 Jul 2024 16:18:54 +0800 Subject: [PATCH] fix(dsp/creative): AdvanceCreative.Photo.PhotoID is uint64 --- model/dsp/creative/creative.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/dsp/creative/creative.go b/model/dsp/creative/creative.go index 6f9a18c..3506cc5 100644 --- a/model/dsp/creative/creative.go +++ b/model/dsp/creative/creative.go @@ -145,7 +145,7 @@ type NewExposeTag struct { // Photo 素材 type Photo struct { // PhotoID 视频 ID - PhotoID string `json:"photo_id,omitempty"` + PhotoID uint64 `json:"photo_id,omitempty"` // CoverImageToken 封面图片 token // 通过上传图片接口获得,不传值则直接使用视频的首帧作为封面图片,自定义封面的图片宽高要与视频宽高一致,使用智能抽帧时不需要传递。 CoverImageToken string `json:"cover_image_token,omitempty"`