Files
rootandClaude Opus 5.5 d6599ae004 删除数据上报逻辑
移除 pub/dataReport、reportser、srv_report、上报定时任务及 eventmod 事件表,
以及注册/登录/点赞/收藏/评论/解锁/订单/上下架等处的上报调用和 reportSdkConfig 配置下发。

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-23 16:12:34 +08:00

42 lines
1.1 KiB
Go

package pubdef
type Page struct {
PageNum int64 `form:"pageNum" json:"pageNum,omitempty"`
PageSize int64 `form:"pageSize" json:"pageSize,omitempty"`
}
const (
OutputDir = "../h5/templates/page/"
DateISO = "2006-01-02"
TimeISO = "2006-01-02 15:04:05"
AppId = 1043
AppName = "黄果短剧"
AppNameZhifu = "黄果短剧2"
AppNameZhifuUUID = "CZ-HGDJ2-"
DefaultChannelCode = "HGDL"
)
const PageSize int64 = 36
func GetTotalPage(total int64, page int64) int64 {
totalPage := total / PageSize
if total%PageSize > 0 {
totalPage++
}
return totalPage
}
type SeoValue struct {
Title string `json:"title" bson:"webTitle"` // 网站SEO标题
Keyworld []string `json:"keyworld" bson:"webKeyworld"` // 网站SEO关键字
Description string `json:"description" bson:"webDescription"` // 网站SEO描述
}
type TranslationType int64
const (
TranslationTypeUrl TranslationType = 1 // URL模式
TranslationTypeSub TranslationType = 2 // 二级导航
TranslationTypeBottom TranslationType = 3 // 底部导航
)