2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 07:57:21 +08:00

refactor: rename app to panel

This commit is contained in:
耗子
2024-09-18 19:08:45 +08:00
parent ef2ecfcc80
commit 2e26af435a
26 changed files with 173 additions and 173 deletions

View File

@@ -4,7 +4,7 @@ import (
"fmt"
"time"
"github.com/TheTNB/panel/internal/app"
"github.com/TheTNB/panel/internal/panel"
)
type Version struct {
@@ -37,7 +37,7 @@ func (r *API) GetLatestVersion() (*Version, error) {
// GetIntermediateVersions 返回当前版本之后的所有版本
func (r *API) GetIntermediateVersions() (*Versions, error) {
resp, err := r.client.R().
SetQueryParam("start", app.Version).
SetQueryParam("start", panel.Version).
SetResult(&Response{}).Get("/versions/log")
if err != nil {
return nil, err