Initial commit

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-15 13:57:10 +08:00
co-authored by Claude Opus 5
commit 8679200f41
1897 changed files with 257900 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
package bannerjumpmod
import (
"time"
"go.mongodb.org/mongo-driver/bson/primitive"
)
// BannerJumpInfo 移动端返回内容
type BannerJumpInfo struct {
ID primitive.ObjectID `json:"id"` // 浮窗ID
Position Position `json:"position"` // 位置 1-视频播放器下方 2-收益页 3-首页浮窗
Banner string `json:"banner"` // BANNER图片
Title string `json:"title"` // 标题
Url string `json:"url"` // 跳转地址
StartAt time.Time `json:"startAt"` // 开始时间;CountdownType=1 时为红包雨场次开始时间,否则为 banner 自身开始时间
EndAt time.Time `json:"endAt"` // 结束时间;CountdownType=1 时为红包雨场次结束时间,否则为 banner 自身结束时间
CountdownType int `json:"countdownType"` // 倒计时类型 0-无 1-红包雨倒计时
}