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
+38
View File
@@ -0,0 +1,38 @@
package locmod
import (
"time"
"91porn-server/models/commod"
)
// CityPageReq 城市列表
type CityPageReq struct {
City string `form:"city" json:"city" bson:"city,omitempty"`
commod.Page
}
// LocInfo 位置信息
type LocInfo struct {
ID string `json:"id"`
City string `json:"city"` //城市
Cover string `json:"cover"` //封面
Visit int `json:"visit"` //访问人数
FakeVisit int `json:"fakeVisit"` //假访问数
SortKey int `json:"sortKey"` //web列表排序字段
CreatedAt time.Time `json:"createdAt"` //创建时间
VideoCount int `json:"videoCount"` //播放量
PlayCount int `json:"playCount"` //播放总数
}
// CityPageResp 城市列表应答
type CityPageResp struct {
List []LocInfo `json:"list"`
Total int `json:"total"`
}
// HotCityPage HotCityPage
type HotCityPage struct {
Total int `json:"total" bson:"total"`
List []HotCityDoc `json:"list" bson:"list"`
}