feat: 更新内容创建和更新表单,支持封面ID和媒体ID字段
This commit is contained in:
@@ -30,6 +30,7 @@ type ContentCreateForm struct {
|
||||
Genre string `json:"genre"`
|
||||
Key string `json:"key"`
|
||||
Price float64 `json:"price"`
|
||||
CoverIDs []string `json:"cover_ids"`
|
||||
MediaIDs []string `json:"media_ids"`
|
||||
}
|
||||
|
||||
@@ -38,6 +39,7 @@ type ContentUpdateForm struct {
|
||||
Genre string `json:"genre"`
|
||||
Key string `json:"key"`
|
||||
Price float64 `json:"price"`
|
||||
CoverIDs []string `json:"cover_ids"`
|
||||
MediaIDs []string `json:"media_ids"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user