diff --git a/api/responses.go b/api/responses.go index e475a9b..918fce4 100644 --- a/api/responses.go +++ b/api/responses.go @@ -32,19 +32,23 @@ type SellResponse struct { } type SellInfo struct { - Task int `json:"task"` - Fisid string `json:"fisid"` - Dataid int `json:"dataid"` - Doccode string `json:"doccode"` - Dt string `json:"dt"` - Cashier string `json:"cashier"` - Dtype int `json:"dtype"` - Isprint int `json:"isprint"` - Isoffline bool `json:"isoffline"` - Safe float64 `json:"safe"` - ShiftLink int `json:"shift_link"` - Docno int `json:"docno"` - Cancelid string `json:"cancelid,omitempty"` + Task int `json:"task"` + Fisid string `json:"fisid"` + Dataid int `json:"dataid"` + Doccode string `json:"doccode"` + Docno interface{} `json:"docno"` + Dt string `json:"dt"` + Cashier string `json:"cashier"` + Dtype int `json:"dtype"` + Isprint int `json:"isprint"` + Isoffline bool `json:"isoffline"` + Safe float64 `json:"safe"` + ShiftLink int `json:"shift_link"` + ShiftPrevLink int `json:"shift_prev_link"` + ShiftID string `json:"shift_id"` + OpenShiftDt string `json:"open_shift_dt"` + Cancelid string `json:"cancelid,omitempty"` + SafeStartShift float64 `json:"safe_start_shift"` } type ZReportResponse struct { @@ -57,6 +61,7 @@ type ZReportInfo struct { Fisid string `json:"fisid"` Dataid int `json:"dataid"` Doccode string `json:"doccode"` + Docno interface{} `json:"docno"` Dt string `json:"dt"` Cashier string `json:"cashier"` Dtype int `json:"dtype"` @@ -64,7 +69,6 @@ type ZReportInfo struct { Isoffline bool `json:"isoffline"` Safe float64 `json:"safe"` ShiftLink int `json:"shift_link"` - Docno int `json:"docno"` Receipt ZReportReceipt `json:"receipt"` Summary ZReportSummary `json:"summary"` Taxes []ZReportTax `json:"taxes"`