github.com/chanxuehong/wechat@v0.0.0-20230222024006-36f0325263cd/mp/shakearound/statistics/statistics.go (about) 1 package statistics 2 3 import ( 4 "github.com/chanxuehong/wechat/mp/shakearound/device" 5 ) 6 7 type StatisticsBase struct { 8 Ftime int64 `json:"ftime"` // 当天0点对应的时间戳 9 ClickPV int `json:"click_pv"` // 点击摇周边消息的次数 10 ClickUV int `json:"click_uv"` // 点击摇周边消息的人数 11 ShakePV int `json:"shake_pv"` // 摇周边的次数 12 ShakeUV int `json:"shake_uv"` // 摇周边的人数 13 } 14 15 type DeviceStatistics struct { 16 device.DeviceBase 17 StatisticsBase 18 } 19 20 type PageStatistics struct { 21 PageId int64 `json:"page_id"` 22 StatisticsBase 23 }