【调整】1panel网站列表

This commit is contained in:
wantoper
2025-05-27 15:37:40 +08:00
parent a51a01996f
commit 39f66a981a
5 changed files with 83 additions and 15 deletions

View File

@@ -38,3 +38,12 @@ func TestOnePanelAPITest(t *testing.T) {
t.Log("SSHAPITest success")
}
}
func TestOnePanelSiteList(t *testing.T) {
result, err := OnePanelSiteList("8")
if err != nil {
t.Fatalf("OnePanelSiteList failed: %v", err)
} else {
t.Logf("OnePanelSiteList success: %v", result)
}
}