17 lines
385 B
Go
17 lines
385 B
Go
![]() |
package data
|
||
|
|
||
|
type Radar struct {
|
||
|
Id int `json:"id"` //ID(索引)
|
||
|
FreeRadarTime int `json:"free_radar_time"` //免费雷达时间
|
||
|
DailyTimes int `json:"daily_times"` //免费雷达次数
|
||
|
AdRadarTime int `json:"ad_radar_time"` //广告雷达时间
|
||
|
}
|
||
|
|
||
|
func (data *Radar) id() int {
|
||
|
return data.Id
|
||
|
}
|
||
|
|
||
|
type RadarTable struct {
|
||
|
table[int, *Radar]
|
||
|
}
|