feat: 更新上传接口,使用新的上传表单结构并添加价格字段
This commit is contained in:
@@ -14,3 +14,7 @@ type OptionsResponse struct {
|
||||
ContentStatus []requests.KV `json:"content_status"`
|
||||
ContentGenre []requests.KV `json:"content_genre"`
|
||||
}
|
||||
|
||||
type UploadForm struct {
|
||||
Type string `form:"type" json:"type"`
|
||||
}
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user