Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4b14f6640f | |||
| d4cad7cb74 |
@@ -1,10 +1,5 @@
|
||||
package api
|
||||
|
||||
type Warning struct {
|
||||
Code int `json:"code"`
|
||||
Wtxt string `json:"wtxt"`
|
||||
}
|
||||
|
||||
type BaseResponse struct {
|
||||
Task int `json:"task"`
|
||||
Type int `json:"type"`
|
||||
@@ -19,7 +14,6 @@ type BaseResponse struct {
|
||||
ResAction int `json:"res_action"`
|
||||
Errortxt string `json:"errortxt"`
|
||||
AqErrortxt string `json:"aq_errortxt"`
|
||||
Warnings []Warning `json:"warnings"`
|
||||
ErrorExtra interface{} `json:"error_extra"`
|
||||
}
|
||||
|
||||
@@ -139,7 +133,7 @@ type PrintGood struct {
|
||||
Code2 string `json:"code2"`
|
||||
CodeA string `json:"code_a"`
|
||||
CodeAa []string `json:"code_aa"`
|
||||
Cnt int `json:"cnt"`
|
||||
Cnt float64 `json:"cnt"`
|
||||
Price float64 `json:"price"`
|
||||
Cost float64 `json:"cost"`
|
||||
CostAfterDisc float64 `json:"cost_after_disc"`
|
||||
|
||||
Reference in New Issue
Block a user