diff --git a/db/model/weather.go b/db/model/weather.go index 3b238f5..37e4ddc 100644 --- a/db/model/weather.go +++ b/db/model/weather.go @@ -7,9 +7,9 @@ import ( // Weather 天气 type Weather struct { - ProjectID int `db:"project_id" json:"project_id"` // 项目ID - UpdateAt string `db:"update_at" json:"update_at"` // 更新时间 - Value json.RawMessage `db:"value" json:"value"` // 天气信息 + ProjectID int `db:"project_id" json:"-"` // 项目ID + UpdateAt string `db:"update_at" json:"update_at"` // 更新时间 + Value json.RawMessage `db:"value" json:"value"` // 天气信息 } // GetWeather 获取天气 diff --git a/weather b/weather index 7e870fa..330ea50 100755 Binary files a/weather and b/weather differ