支持xml入参

This commit is contained in:
nuknal
2024-05-31 08:48:30 +08:00
parent 8f2b297a02
commit 4b005f324d
18 changed files with 147 additions and 17 deletions

View File

@@ -1,4 +1,4 @@
package imageproc
package producer
import (
"encoding/xml"
@@ -11,7 +11,7 @@ type Report struct {
Satellite string `xml:"satellite,attr"`
Sensor string `xml:"sensor,attr"`
ProductLevel string `xml:"productLevel,attr"`
Scenes []ReportScene `xml:"scene"`
Scenes []ReportScene `xml:"scenes>scene"`
}
// Scene represents each scene in the report