|
@@ -283,7 +283,7 @@ func (s *wafLogService) SmartExportWafLog(ctx context.Context, req adminApi.Expo
|
|
|
"addr_backend_list": "后端地址",
|
|
|
"domain": "域名",
|
|
|
"comment": "备注",
|
|
|
- "custom_host": "自定义主机",
|
|
|
+ "custom_host": "回源地址",
|
|
|
"expose_addr": "暴露地址",
|
|
|
"created_at": "创建时间",
|
|
|
}
|
|
@@ -526,9 +526,9 @@ func (s *wafLogService) convertRawDataToExportResults(ctx context.Context, rawDa
|
|
|
domain = domainStr
|
|
|
}
|
|
|
}
|
|
|
- if extraData["backend_list"] != nil {
|
|
|
+ if extraData["backendList"] != nil {
|
|
|
if strings.Contains(v.ApiName, "web") {
|
|
|
- if backendListStr, ok := extraData["backend_list"].(string); ok {
|
|
|
+ if backendListStr, ok := extraData["backendList"].(string); ok {
|
|
|
var backendList []map[string]interface{}
|
|
|
err := json.Unmarshal([]byte(backendListStr), &backendList)
|
|
|
if err != nil {
|
|
@@ -547,7 +547,7 @@ func (s *wafLogService) convertRawDataToExportResults(ctx context.Context, rawDa
|
|
|
}
|
|
|
}
|
|
|
} else {
|
|
|
- AddrBackendList = extraData["backend_list"]
|
|
|
+ AddrBackendList = extraData["backendList"]
|
|
|
}
|
|
|
}
|
|
|
}
|