warehouseDetail response

This commit is contained in:
richboo111
2022-12-05 17:33:44 +08:00
parent dfeb8b2128
commit 0f3fe28144

View File

@@ -9,42 +9,31 @@ type WarehouseGetWarehouseByStoreResponse struct {
Data *WarehouseGetWarehouseByStoreData `json:"data"` Data *WarehouseGetWarehouseByStoreData `json:"data"`
} }
type WarehouseLocation struct { type WarehouseLocation struct {
// 一级地址ID AddressId1 int `json:"addressId1"`
AddressId1 int64 `json:"address_id1"` AddressId2 int `json:"addressId2"`
// 二级地址ID AddressId3 int `json:"addressId3"`
AddressId2 int64 `json:"address_id2"` AddressId4 int `json:"addressId4"`
// 三级地址ID AddressName1 string `json:"addressName1"`
AddressId3 int64 `json:"address_id3"` AddressName2 string `json:"addressName2"`
// 四级地址ID AddressName3 string `json:"addressName3"`
AddressId4 int64 `json:"address_id4"` AddressName4 string `json:"addressName4"`
// 一级地址名称
AddressName1 string `json:"address_name1"`
// 二级地址名称
AddressName2 string `json:"address_name2"`
// 三级地址名称
AddressName3 string `json:"address_name3"`
// 四级地址名称
AddressName4 string `json:"address_name4"`
} }
type WarehouseInfoMapItem struct { type WarehouseInfoMapItem struct {
// 仓id Latitude string `json:"Latitude"`
WarehouseId int64 `json:"warehouse_id"` Longitude string `json:"Longitude"`
// 外部仓id OutFenceIds []string `json:"OutFenceIds"`
OutWarehouseId string `json:"out_warehouse_id"` AddressDetail string `json:"addressDetail"`
// 仓名称 Addresses []string `json:"addresses"`
Name string `json:"name"` CreateTime int `json:"createTime"`
// 仓介绍 Introduction string `json:"introduction"`
Introduction string `json:"introduction"` Name string `json:"name"`
// 仓地址信息 OutWarehouseId string `json:"outWarehouseId"`
WarehouseLocation *WarehouseLocation `json:"warehouse_location"` ShopId int `json:"shopId"`
// 详细地址 StoreNames []string `json:"storeNames"`
AddressDetail string `json:"address_detail"` UpdateTime int `json:"updateTime"`
// 更新时间 WarehouseId int64 `json:"warehouseId"`
UpdateTime int64 `json:"update_time"` WarehouseLocation *WarehouseLocation `json:"warehouseLocation"`
// 创建时间 WarehouseType int `json:"warehouseType"`
CreateTime int64 `json:"create_time"`
// 绑定的外部围栏ID列表
OutFenceIds []string `json:"out_fence_ids"`
} }
type WarehouseGetWarehouseByStoreData struct { type WarehouseGetWarehouseByStoreData struct {
// 仓信息map // 仓信息map