在数据库中添加了Version字段,并修改前端,不再使用指定的Version

This commit is contained in:
2026-01-08 14:12:34 +08:00
parent 7d7c0b251f
commit 67c3be3c9e
5 changed files with 29 additions and 20 deletions

View File

@@ -247,6 +247,8 @@ pub struct WeatherData {
pub theta: f64,
pub title: String,
pub version: String,
#[serde(rename = "windDirection")]
#[sqlx(rename = "winddirection")]
#[sqlx(try_from = "serde_json::Value")]