17 lines
433 B
Go
17 lines
433 B
Go
package locmod
|
|
|
|
// CityResp 热门城市
|
|
type CityResp struct {
|
|
ID string `json:"id" bson:"_id"`
|
|
City string `json:"city" bson:"city"`
|
|
Province string `json:"province" bson:"province"`
|
|
Hot int `json:"hot" bson:"hot"`
|
|
Visit int `json:"visit" bson:"visit"`
|
|
}
|
|
|
|
// LInfoResp 位置响应信息
|
|
type LInfoResp struct {
|
|
Location
|
|
PlayCount int `json:"visit,omitempty" bson:"visit,omitempty"` //访问人数
|
|
}
|