2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 13:47:15 +08:00

feat: 适配最新api

This commit is contained in:
2025-10-02 01:16:28 +08:00
parent bbc928a150
commit 63278ee05f
7 changed files with 51 additions and 52 deletions

View File

@@ -14,16 +14,11 @@ type AppCenter struct {
Description string `json:"description"`
Slug string `json:"slug"`
Channels []struct {
Slug string `json:"slug"`
Name string `json:"name"`
Panel string `json:"panel"`
Install string `json:"-"`
Uninstall string `json:"-"`
Update string `json:"-"`
Subs []struct {
Log string `json:"log"`
Version string `json:"version"`
} `json:"subs"`
Slug string `json:"slug"`
Name string `json:"name"`
Panel string `json:"panel"`
Version string `json:"version"`
Log string `json:"log"`
} `json:"channels"`
Installed bool `json:"installed"`
InstalledChannel string `json:"installed_channel"`