Files
web_huangguo2_h5/pub/pubdef/pubdef.go
T
谢宇宁andClaude Opus 5.5 0fbdba5ccf Initial commit
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 11:47:47 +07:00

26 lines
654 B
Go

package pubdef
type Page struct {
PageNum int64 `form:"pageNum" json:"pageNum,omitempty"`
PageSize int64 `form:"pageSize" json:"pageSize,omitempty"`
}
const (
DateISO = "2006-01-02"
TimeISO = "2006-01-02 15:04:05"
AppId = 1045
)
// TrackerAppId 数据上报 Web SDK 的业务 appId。
func TrackerAppId() string {
return "JHA-1045"
}
const PageSize int64 = 40
type SeoValue struct {
Title string `json:"title" bson:"webTitle"` // 网站SEO标题
Keyworld []string `json:"keyworld" bson:"webKeyworld"` // 网站SEO关键字
Description string `json:"description" bson:"webDescription"` // 网站SEO描述
}