不返回项目id
							parent
							
								
									f69590b0c6
								
							
						
					
					
						commit
						cc6e9e3549
					
				| 
						 | 
				
			
			@ -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 获取天气
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue