Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
30 lines
834 B
Go
30 lines
834 B
Go
package proto
|
||
|
||
import "videoweb/pub/pubdef"
|
||
|
||
type RichTextInfo struct {
|
||
Id int64 `json:"id" bson:"_id,omitempty"`
|
||
Title string `json:"title" bson:"title"` // 标题
|
||
Content string `json:"content" bson:"content"` // 内容
|
||
Desc string `json:"desc" bson:"desc"` // 标题(app)
|
||
SeoInfo pubdef.SeoValue `json:"seoInfo" bson:"seoInfo"` // Seo相关信息
|
||
}
|
||
|
||
// AppRichTextItemResp APP富文本内容列表项
|
||
type AppRichTextItemResp struct {
|
||
// 富文本ID
|
||
Id int64 `json:"id"`
|
||
// 标题
|
||
Title string `json:"title"`
|
||
// 内容
|
||
Content string `json:"content"`
|
||
// 标题(app)
|
||
Desc string `json:"desc"`
|
||
}
|
||
|
||
// AppRichTextListResp APP富文本内容列表响应
|
||
type AppRichTextListResp struct {
|
||
// 富文本内容列表
|
||
List []AppRichTextItemResp `json:"list"`
|
||
}
|