Files
rootandClaude Opus 5 8679200f41 Initial commit
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-15 13:57:10 +08:00

25 lines
876 B
Go

package annoumod
import "go.mongodb.org/mongo-driver/bson/primitive"
// PopReq 公告列表
type PopReq struct {
Type int `form:"type" json:"type"` //公告类型,0,2,所有 3会员升级公告
}
// AppRes 公告模型
type AnnounInfo struct {
ID primitive.ObjectID `json:"id" bson:"_id,omitempty"` //公告id
Title string `json:"title" bson:"title"` //公告标题
Content string `json:"content" bson:"content"` //公告内容
Cover string `json:"cover" bson:"cover"` //公告封面图
Href string `json:"href" bson:"href"` //公告跳转地址
Type int `json:"type" bson:"type"` //公告类型
}
// MsgListReq 公告列表
type MsgListReq struct {
PageNumber int `form:"pageNumber" json:"pageNumber"`
PageSize int `form:"pageSize" json:"pageSize"`
}