From f4508a84236a4aff1c7b5bfa17a14a8ff95728ba Mon Sep 17 00:00:00 2001 From: yinbentan <yinbentan@live.com> Date: 星期一, 08 七月 2024 09:45:10 +0800 Subject: [PATCH] 接口调用报错处理 --- request/location.go | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/request/location.go b/request/location.go index 18a6c36..4f49f33 100644 --- a/request/location.go +++ b/request/location.go @@ -3,6 +3,15 @@ type LocationByType struct { Type int `json:"type" form:"type"` Keyword string `json:"keyword" form:"keyword"` - ParentId int `json:"parentId" form:"parentId"` + ParentId string `json:"parentId" form:"parentId"` CompanyId int `json:"companyId" form:"companyId"` } + +type GetLocationList struct { + PageInfo + Type int `json:"type"` + KeyWord string `json:"keyWord"` + JointName string `json:"jointName"` //鎷兼帴鍚嶇О + IsScrapLocation bool `json:"isScrapLocation"` //鏄惁鎶ュ簾 + WarehouseId int `json:"warehouseId"` //浠撳簱ID +} -- Gitblit v1.8.0