From 6d20c95f0b42949c392aab770a4dc3c6a93909c2 Mon Sep 17 00:00:00 2001 From: laodaming <11058467+laudamine@user.noreply.gitee.com> Date: Wed, 6 Sep 2023 15:06:50 +0800 Subject: [PATCH] fix --- server/product/internal/types/types.go | 2 +- server_api/product.api | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/product/internal/types/types.go b/server/product/internal/types/types.go index dccd613b..ee0a001e 100644 --- a/server/product/internal/types/types.go +++ b/server/product/internal/types/types.go @@ -284,7 +284,7 @@ type TagProduct struct { } type CoverDefaultItem struct { - TemplateTag string `json:"tag"` + TemplateTag string `json:"template_tag"` Cover string `json:"cover"` CoverMetadata interface{} `json:"cover_metadata"` } diff --git a/server_api/product.api b/server_api/product.api index 054be734..bb95a9d9 100644 --- a/server_api/product.api +++ b/server_api/product.api @@ -333,7 +333,7 @@ type TagProduct { Recommended bool `json:"recommended"` } type CoverDefaultItem { - TemplateTag string `json:"tag"` + TemplateTag string `json:"template_tag"` Cover string `json:"cover"` CoverMetadata interface{} `json:"cover_metadata"` }