【新增】雷池waf认证中心证书上传

This commit is contained in:
Lystran
2026-02-05 21:21:01 +08:00
committed by LystranG
parent 4c3ddd71c9
commit 1f6ffe36e9
16 changed files with 104 additions and 1 deletions

View File

@@ -46,6 +46,15 @@ func TestGetSafeLineWAFSiteList(t *testing.T) {
fmt.Println(siteId)
}
func TestSafeLineWAFPortalGet(t *testing.T) {
res, err := GetSafeLineWafPortalConfig("1")
if err != nil {
t.Fatalf(err.Error())
return
}
fmt.Println(res)
}
func TestSafeLineAPITest(t *testing.T) {
result := SafeLineAPITest("5")
if result != nil {
@@ -53,4 +62,4 @@ func TestSafeLineAPITest(t *testing.T) {
} else {
t.Log("SafeLineAPITest success")
}
}
}