Milky0217 bdbba2cd60 feat: 添加收藏功能 API
- models.rs: 添加 is_favorite 字段到 WeatherData 和 WeatherDataBrief
- db.rs: 添加 get_favorites_list 和 set_weather_favorite 函数
- handlers/favorites.rs: 新建收藏 API 处理器
- handlers/mod.rs: 导出 favorites 模块
- main.rs: 注册收藏 API 路由
2026-04-17 17:40:58 +08:00
2025-09-08 09:43:52 +08:00
2026-04-17 17:40:58 +08:00
Description
ASD Rust Backend
2.7 MiB
Languages
JavaScript 77%
Rust 12.1%
Shell 6.9%
CSS 3.7%
HTML 0.2%
Other 0.1%