From 5feed448cc334d98a699ae8deff544e140dbd38c Mon Sep 17 00:00:00 2001 From: Syd Xu Date: Wed, 28 Aug 2024 15:38:03 +0800 Subject: [PATCH 1/2] =?UTF-8?q?feat(file):=20=E7=B4=A0=E6=9D=90=E7=AE=A1?= =?UTF-8?q?=E7=90=86-=E8=8E=B7=E5=8F=96=E8=A7=86=E9=A2=91=E7=B4=A0?= =?UTF-8?q?=E6=9D=90=E6=8E=A5=E5=8F=A3=E6=96=B0=E5=A2=9E=E6=94=AF=E6=8C=81?= =?UTF-8?q?star=5Fauthor=5Fids=E6=98=9F=E5=9B=BE=E8=BE=BE=E4=BA=BAid?= =?UTF-8?q?=E6=A3=80=E7=B4=A2=EF=BC=8C=E5=8F=AF=E9=80=9A=E8=BF=87=E6=98=9F?= =?UTF-8?q?=E5=9B=BE=E8=BE=BE=E4=BA=BAid=E8=BF=9B=E8=A1=8C=E8=A7=86?= =?UTF-8?q?=E9=A2=91=E7=B4=A0=E6=9D=90=E7=AD=9B=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- marketing-api/model/file/video_get.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/marketing-api/model/file/video_get.go b/marketing-api/model/file/video_get.go index 130c9b09..8ea576f2 100644 --- a/marketing-api/model/file/video_get.go +++ b/marketing-api/model/file/video_get.go @@ -50,6 +50,8 @@ type VideoGetFilter struct { // Source 素材来源,详见【附录-素材来源】 // 枚举值大小写敏感,请严格按照定义的名称传参 Source []enum.MaterialSource `json:"source,omitempty"` + // StarAuthorIDs 星图达人 id 检索,仅当source = STAR 时,支持通过星图达人ID进行筛选,单次最多支持传入20 个id进行检索 + StarAuthorIDs []string `json:"star_author_ids,omitempty"` } // Encode implement GetRequest interface From 171e9076558fdbc7cda5dcaa424d0ea4c052c01a Mon Sep 17 00:00:00 2001 From: Syd Xu Date: Wed, 28 Aug 2024 15:45:51 +0800 Subject: [PATCH 2/2] =?UTF-8?q?feat(spi):=20SPI=E6=94=AF=E6=8C=81=E8=AE=A2?= =?UTF-8?q?=E9=98=85=E3=80=8C=E5=8D=87=E7=BA=A7=E7=89=88=E7=B4=A0=E6=9D=90?= =?UTF-8?q?=E6=8A=A5=E8=A1=A8=E3=80=8D=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- marketing-api/model/spi/message.go | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/marketing-api/model/spi/message.go b/marketing-api/model/spi/message.go index ec6dfd5e..706c8471 100644 --- a/marketing-api/model/spi/message.go +++ b/marketing-api/model/spi/message.go @@ -66,6 +66,8 @@ type MessageDataBase struct { ProjectIDs []uint64 `json:"project_ids,omitempty"` // PromotionIDs 状态发生变更的广告ids PromotionIDs []uint64 `json:"promotion_ids,omitempty"` + // MaterialIDs 聚合周期内发生指标变更的素材列表,service_label 为report.material.activeprogram时有值 + MaterialIDs []uint64 `json:"material_ids,omitempty"` // Event 事件名称 Event string `json:"event,omitempty"` } @@ -156,6 +158,33 @@ type EventContent struct { // 当campaign_type = feed && delivery_range= union时可获取穿山甲广告配额; // 当campaign_type = search && delivery_range= default时可获取搜索广告配额; DeliveryRange enum.AdDeliveryRange `json:"delivery_range,omitempty"` + // QualificationType 资质类型 + // AGENT_ARRANGEMENT 广告代投协议 + // AUTHORIZATION_CONTRACT 委托加工/生产合同 + // DISTRIBUTION_AUTHORIZATION 经销授权书 + // ICP_RECORD_AUTHORIZATION icp域名备案/授权 + // OTHER_CERTIFICATION 其他资质 + // PATENT_CERTIFICATE 专利证书 + // PORTRAIT_AUTHORIZATION 肖像授权书 + // QUALITY_REPORT 鉴定/质检报告 + // SOFTWARE_COPYRIGHT_REGISTRATION_CERTIFICATE 软件著作权登记证书 + // TRADEMARK_REGISTRATION_CERTIFICATE 商标注册证 + // VIDEO_MATERIAL_PRODUCTION_IP_AUTHORIZATION 广告视频/素材/作品/IP授权 + QualificationType enum.DeliveryQualificationType `json:"qualification_type,omitempty"` + // QualificationID 资质ID + QualificationID []uint64 `json:"qualification_id,omitempty"` + // Status 资质状态 + // STATUS_CONFIRM 审核通过 + // STATUS_CONFIRM_FAIL 审核不通过 + // STATUS_PENDING_CONFIRM 审核中 + // STATUS_WAIT_CONFIRM 待审核 + Status enum.DeliveryQualificationStatus `json:"status,omitempty"` + // MaterialIDs 聚合周期内发生指标变更的素材列表 + MaterialIDs []uint64 `json:"material_ids,omitempty"` + // MaterialType 素材类型: + // image:图片 + // video:视频 + MaterialType string `json:"material_type,omitempty"` } // CommentUser 用户信息