feat: 更新上传接口,使用新的上传表单结构并添加价格字段

This commit is contained in:
2025-12-31 16:41:19 +08:00
parent b82a69689d
commit 5a364a995a
5 changed files with 33 additions and 16 deletions

View File

@@ -55,13 +55,14 @@ type ContentEditDTO struct {
}
type CreatorContentItem struct {
ID string `json:"id"`
Title string `json:"title"`
Genre string `json:"genre"`
Key string `json:"key"`
Views int `json:"views"`
Likes int `json:"likes"`
IsPurchased bool `json:"is_purchased"`
ID string `json:"id"`
Title string `json:"title"`
Genre string `json:"genre"`
Key string `json:"key"`
Price float64 `json:"price"`
Views int `json:"views"`
Likes int `json:"likes"`
IsPurchased bool `json:"is_purchased"`
}
type AssetDTO struct {