From f4508a84236a4aff1c7b5bfa17a14a8ff95728ba Mon Sep 17 00:00:00 2001 From: yinbentan <yinbentan@live.com> Date: 星期一, 08 七月 2024 09:45:10 +0800 Subject: [PATCH] 接口调用报错处理 --- request/reorder_rule_request.go | 15 +++++++++------ 1 files changed, 9 insertions(+), 6 deletions(-) diff --git a/request/reorder_rule_request.go b/request/reorder_rule_request.go index bd33ec4..53e5c53 100644 --- a/request/reorder_rule_request.go +++ b/request/reorder_rule_request.go @@ -7,15 +7,18 @@ type GetReorderRuleList struct { PageInfo - KeyWord string `json:"keyWord"` + KeyWord string `json:"keyWord"` + LocationId int `json:"locationId"` + ProductId string `json:"productId"` + Type string `json:"type"` //绫诲瀷:bh=琛ヨ揣 } type ProductAmount struct { - ProductId string `json:"productId"` - ToLocationId int `json:"toLocationId"` - FromLocationId int `json:"fromLocationId"` - Amount decimal.Decimal `json:"amount"` - Status constvar.OperationStatus `json:"status"` + ProductId string `json:"productId"` + ToLocationId int `json:"toLocationId"` + FromLocationId int `json:"fromLocationId"` + Amount decimal.Decimal `json:"amount"` + BaseOperationType constvar.BaseOperationType `json:"baseOperationType"` } type GetAmountAndPrediction struct { -- Gitblit v1.8.0