From 19212a001fa6f64abbf042a781ff0f18acb61fcc Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期一, 22 一月 2024 10:23:31 +0800 Subject: [PATCH] 产品查询修改2 --- request/warehouse.go | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/request/warehouse.go b/request/warehouse.go index 47fb595..74082ff 100644 --- a/request/warehouse.go +++ b/request/warehouse.go @@ -2,7 +2,7 @@ type GetWarehouseList struct { PageInfo - Keyword string `json:"keyword"` + Keyword string `json:"keyword" form:"keyword"` } type AddWarehouse struct { @@ -15,6 +15,7 @@ Address string `json:"address" gorm:"type:varchar(512);comment:鍦板潃"` //鍦板潃 InboundTransportation int `json:"inboundTransportation" gorm:"type:int;comment:鍏ュ悜杩愯緭"` //鍏ュ悜杩愯緭 OutboundTransportation int `json:"outboundTransportation" gorm:"type:int;comment:鍑哄簱杩愯緭"` //鍑哄簱杩愯緭 + LocationId int `json:"locationId" gorm:"type:int;comment:浣嶇疆id"` //浣嶇疆id } type UpdateWarehouse struct { -- Gitblit v1.8.0