修改错误的weatherdata类型

This commit is contained in:
2025-09-28 09:33:28 +08:00
parent 1ac9db3f84
commit bf560ccd8c

View File

@@ -151,8 +151,8 @@ pub struct WeatherData {
#[sqlx(rename = "inspectiontype")] #[sqlx(rename = "inspectiontype")]
pub inspection_type: Option<String>, pub inspection_type: Option<String>,
pub latitude: String, pub latitude: f64,
pub longitude: String, pub longitude: f64,
#[serde(rename = "lowCloudiness")] #[serde(rename = "lowCloudiness")]
#[sqlx(rename = "lowcloudiness")] #[sqlx(rename = "lowcloudiness")]