来源:hgdjnet-server 9bfbafe10d417deea959bd53117bc88a10e60a83 项目身份 HKDJ / JHA-216,独立官网仓库,Jenkins 守卫键 hkdjnet 测试目录 /server/hkdj_net,App/Web API 30331/30332 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
30 lines
841 B
Go
30 lines
841 B
Go
package proto
|
||
|
||
import "hkdj-web-server/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"`
|
||
}
|