push_data.go 709 B

123456789101112131415161718192021222324
  1. package structs
  2. type PushData struct {
  3. Data []Datum `json:"data" compare:"ignore"`
  4. IsPublishImmediately int64 `json:"isPublishImmediately"`
  5. Query Query `json:"query"`
  6. ServiceTag string `json:"serviceTag"`
  7. }
  8. type Datum struct {
  9. ArrAir string `json:"arrAir"`
  10. DepAir string `json:"depAir"`
  11. FlightEndDate string `json:"flightEndDate"`
  12. FlightNo string `json:"flightNo"`
  13. FlightStartDate string `json:"flightStartDate"`
  14. PrintPrice float64 `json:"printPrice"`
  15. Stock int `json:"stock"`
  16. }
  17. type Query struct {
  18. ArrAir string `json:"arrAir"`
  19. DepAir string `json:"depAir"`
  20. DepDate string `json:"depDate"`
  21. }