feat: 支付闭环
This commit is contained in:
@@ -15,7 +15,7 @@ type SaveChannel struct {
|
||||
CategoryId string `json:"categoryId" binding:"required"` // 分类ID
|
||||
Name string `json:"name" binding:"required"` // 频道名称
|
||||
Description string `json:"description"` // 频道描述
|
||||
CoverId string `json:"coverId"` // 封面图URL
|
||||
Cover string `json:"cover"` // 封面图URL
|
||||
Tags string `json:"tags"` // 标签
|
||||
IsFree int `json:"isFree"` //是否永久免费
|
||||
IsVipOnly int `json:"isVipOnly"` //是否vip专享
|
||||
@@ -32,7 +32,7 @@ type UpdateChannel struct {
|
||||
CategoryId string `json:"categoryId"` // 分类ID
|
||||
Name string `json:"name"` // 频道名称
|
||||
Description string `json:"description"` // 频道描述
|
||||
CoverId string `json:"coverId"` // 封面图URL
|
||||
Cover string `json:"cover"` // 封面图URL
|
||||
Tags string `json:"tags"` // 标签
|
||||
IsFree int `json:"isFree"`
|
||||
IsVipOnly int `json:"isVipOnly"` //是否vip专享
|
||||
@@ -42,3 +42,8 @@ type UpdateChannel struct {
|
||||
Sort int `json:"sort"` // 排序
|
||||
Status int `json:"status"` // 状态
|
||||
}
|
||||
|
||||
type UnlockChannel struct {
|
||||
ChannelId string `json:"channelId" binding:"required"`
|
||||
EventType string `json:"type" binding:"required"` // 1 月 2 季 3 年
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user