From 738f6c1aa8ba59fb666d347e02b5fb7f70491cf2 Mon Sep 17 00:00:00 2001 From: yinbentan <yinbentan@live.com> Date: 星期一, 01 七月 2024 09:37:09 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/jialian' into jialian --- request/warehouse.go | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/request/warehouse.go b/request/warehouse.go index 47fb595..7f14cc1 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,8 @@ 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 + Contacts string `json:"contacts" gorm:"type:varchar(255);comment:鑱旂郴浜�"` //鑱旂郴浜� } type UpdateWarehouse struct { -- Gitblit v1.8.0