| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137 |
- package structs
- type ReqSearchFlightData struct {
- DepCode string `json:"depCode"`
- ArrCode string `json:"arrCode"`
- Date string `json:"date"`
- }
- type ResSearchFlight struct {
- Code int64 `json:"code"`
- Msg string `json:"msg"`
- Data ResSearchFlightData `json:"data"`
- TraceID string `json:"traceId"`
- Success bool `json:"success"`
- }
- type ResSearchFlightData struct {
- Total int `json:"total"`
- Status int `json:"status"`
- Datas []Datas `json:"datas"`
- ServicePackets []ServicePackets `json:"servicePackets"`
- }
- type Datas struct {
- FlightParam string `json:"flightParam"`
- FlightInfo FlightInfo `json:"flightInfo,omitempty"`
- CabinInfos []CabinInfos `json:"cabinInfos"`
- }
- type FlightInfo struct {
- FlightInfoID string `json:"flightInfoId"`
- FlyNo string `json:"flyNo"`
- AcCode string `json:"acCode"`
- DepCode string `json:"depCode"`
- ArrCode string `json:"arrCode"`
- DepDateTime string `json:"depDateTime"`
- ArrDateTime string `json:"arrDateTime"`
- DepTerminal string `json:"depTerminal"`
- ArrTerminal string `json:"arrTerminal"`
- Model string `json:"model"`
- IsStop int `json:"isStop"`
- IsShare int `json:"isShare"`
- Meal int `json:"meal"`
- IsCancel int `json:"isCancel"`
- Av int `json:"av"`
- }
- type CabinInfos struct {
- PriceInfoID string `json:"priceInfoId"`
- BaseCabin string `json:"baseCabin"`
- BaseCodeLevel int `json:"baseCodeLevel"`
- Voucher int `json:"voucher"`
- Discount float64 `json:"discount"`
- Left int `json:"left"`
- ServicePackets []interface{} `json:"servicePackets"`
- AdtPrice AdtPrice `json:"adtPrice,omitempty"`
- ChdPrice ChdPrice `json:"chdPrice,omitempty"`
- BusinessField string `json:"businessField"`
- ExpectTicketTime int `json:"expectTicketTime,omitempty"`
- SaleControls []SaleControls `json:"saleControls,omitempty"`
- CabinProductDesc CabinProductDesc `json:"cabinProductDesc"`
- }
- type CabinProductDesc struct {
- ID int `json:"id"`
- ProductDesc string `json:"productDesc"`
- }
- type AdtPrice struct {
- ProductType string `json:"productType"`
- Cabin string `json:"cabin"`
- Price float64 `json:"price"`
- TicketPrice float64 `json:"ticketPrice"`
- RulePrice float64 `json:"rulePrice"`
- OilFee float64 `json:"oilFee"`
- AirportFee float64 `json:"airportFee"`
- FareBasisCode string `json:"fareBasisCode"`
- Rule Rule `json:"rule"`
- }
- type ChdPrice struct {
- ProductType string `json:"productType"`
- Cabin string `json:"cabin"`
- Price float64 `json:"price"`
- TicketPrice float64 `json:"ticketPrice"`
- RulePrice float64 `json:"rulePrice"`
- OilFee float64 `json:"oilFee"`
- AirportFee float64 `json:"airportFee"`
- Rule Rule `json:"rule"`
- }
- type Rule struct {
- RefundRule string `json:"refundRule"`
- ChangeRule string `json:"changeRule"`
- TransferRule string `json:"transferRule"`
- RefundExp []RefundExp `json:"refundExp"`
- ChangeExp []ChangeExp `json:"changeExp"`
- HandBaggageRule HandBaggageRule `json:"handBaggageRule"`
- ConsignBaggageRule ConsignBaggageRule `json:"consignBaggageRule"`
- }
- type RefundExp struct {
- TimeTxt string `json:"timeTxt"`
- TimeExp string `json:"timeExp"`
- Price int `json:"price"`
- Percent int `json:"percent"`
- }
- type ChangeExp struct {
- TimeTxt string `json:"timeTxt"`
- TimeExp string `json:"timeExp"`
- Price int `json:"price"`
- Percent int `json:"percent"`
- }
- type HandBaggageRule struct {
- Txt string `json:"txt"`
- Pieces int `json:"pieces"`
- Weight float64 `json:"weight"`
- Volume string `json:"volume"`
- }
- type ConsignBaggageRule struct {
- Txt string `json:"txt"`
- Pieces int `json:"pieces"`
- Weight float64 `json:"weight"`
- Volume string `json:"volume"`
- }
- type SaleControls struct {
- ID int `json:"id"`
- PsNum string `json:"psNum"`
- PsAge string `json:"psAge"`
- PsIDType string `json:"psIdType"`
- }
- type ServicePackets struct {
- ID int `json:"id"`
- Title string `json:"title"`
- Desc string `json:"desc"`
- }
|