mirror of
https://gitee.com/mirrors/AllinSSL.git
synced 2026-04-10 12:43:16 +08:00
【新增】雷池waf认证中心证书上传
This commit is contained in:
@@ -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")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user