Initial commit

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-09-23 11:07:42 +08:00
co-authored by Claude Opus 5.5
commit 7974a42301
633 changed files with 120248 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
package pubdef
// 卡类型
type CardTypeInt int32
// vip类型
type VipType int32
const (
VipTypeNone VipType = 0 + iota // 没卡
VipTypeMonth VipType = 1 // 月卡
VipTypeYear VipType = 2 // 年卡
)
var VipTypeNamedMap = map[VipType]string{
VipTypeNone: "无",
VipTypeMonth: "月卡",
VipTypeYear: "年卡",
}
type BannerInfo struct {
Img string `json:"img" bson:"img"` // banner图片
Text string `json:"text" bson:"text"` // banner文字类
BackgroundColor string `json:"backgroundColor" bson:"backgroundColor"` // banner背景图
SkipUrl string `json:"skipUrl" bson:"skipUrl"` // banner跳转地址
}