feat(admin): 添加APK管理功能

实现APK文件的上传、下载和列表功能
- 新增APKInfo数据结构
- 添加/admin/apk/upload、/admin/apk/download和/admin/apk/list路由
- 实现APK存储服务方法
- 添加相关测试用例
This commit is contained in:
2026-03-15 18:53:00 +08:00
parent a0ef7f430d
commit e629b69411
6 changed files with 279 additions and 2 deletions

View File

@@ -45,3 +45,10 @@ type ReleaseInfo struct {
CreatedAt time.Time `json:"createdAt"`
}
type APKInfo struct {
RuntimeVersion string `json:"runtimeVersion"`
Path string `json:"path"`
Size int64 `json:"size"`
CreatedAt time.Time `json:"createdAt"`
}