feat: 添加 App 检查更新功能

- 前端:设置页面添加检查更新菜单项,从 pubspec.yaml 动态获取版本号
- 后端:新增 /api/v1/app/check-updates 接口,自动扫描 releases 目录对比版本
- 配置:新增 AppVersionSettings,支持通过环境变量配置版本和下载链接
- Docker:添加 releases 目录挂载
This commit is contained in:
qzl
2026-03-16 16:09:07 +08:00
parent dcceb48d84
commit ab073c88ed
11 changed files with 485 additions and 138 deletions
+2 -1
View File
@@ -1,7 +1,7 @@
name: social_app
description: "Social App - A Flutter mobile application"
publish_to: 'none'
version: 1.0.0+1
version: 0.1.0+1
environment:
sdk: ^3.10.7
@@ -25,6 +25,7 @@ dependencies:
flutter_local_notifications: ^17.2.4
timezone: ^0.9.4
image_picker: ^1.0.7
package_info_plus: ^8.0.3
dev_dependencies:
flutter_test: