【调整部署】宝塔WAF网站证书

This commit is contained in:
陈尚杰
2025-05-14 15:58:16 +08:00
parent 564feba3f1
commit 819ffe8d99
2 changed files with 5 additions and 5 deletions

View File

@@ -33,7 +33,7 @@ func TestBTWAFSite(t *testing.T) {
//}
func TestGetBTWAFSiteList(t *testing.T) {
res, err := GetBTWafSiteList(1, 10, "xxx.cn")
res, err := GetBTWafSiteList(1, 10, "xxx.cn", "1")
for _, site := range res {
sites := site.(map[string]any)
fmt.Printf("网站名: %s ID%s \n", sites["site_name"], sites["site_id"])