feat: persist product claimed counts

This commit is contained in:
richjohnrambo
2026-10-19 00:02:35 +08:00
parent ac152d2f10
commit 0ce6bca10e
6 changed files with 29 additions and 1 deletions
+2
View File
@@ -35,6 +35,7 @@ type ProductColumns struct {
CoverUrl string // 封面URL
DetailHtml string // 商品详情
IsRecommended string // 是否推荐
ClaimedCount string // 已领取展示数
PublishStatus string // 发布状态
StartAt string // 展示开始时间
EndAt string // 展示结束时间
@@ -65,6 +66,7 @@ var productColumns = ProductColumns{
CoverUrl: "cover_url",
DetailHtml: "detail_html",
IsRecommended: "is_recommended",
ClaimedCount: "claimed_count",
PublishStatus: "publish_status",
StartAt: "start_at",
EndAt: "end_at",