From 0f3fe281441e5b51dc0e2c5024f21ef05c2fd3c8 Mon Sep 17 00:00:00 2001 From: richboo111 Date: Mon, 5 Dec 2022 17:33:44 +0800 Subject: [PATCH] warehouseDetail response --- .../warehouse_getWarehouseByStore_response.go | 57 ++++++++----------- 1 file changed, 23 insertions(+), 34 deletions(-) diff --git a/platformapi/tiktok_shop/sdk-golang/api/warehouse_getWarehouseByStore/response/warehouse_getWarehouseByStore_response.go b/platformapi/tiktok_shop/sdk-golang/api/warehouse_getWarehouseByStore/response/warehouse_getWarehouseByStore_response.go index 8961af06..f71fcd34 100644 --- a/platformapi/tiktok_shop/sdk-golang/api/warehouse_getWarehouseByStore/response/warehouse_getWarehouseByStore_response.go +++ b/platformapi/tiktok_shop/sdk-golang/api/warehouse_getWarehouseByStore/response/warehouse_getWarehouseByStore_response.go @@ -9,42 +9,31 @@ type WarehouseGetWarehouseByStoreResponse struct { Data *WarehouseGetWarehouseByStoreData `json:"data"` } type WarehouseLocation struct { - // 一级地址ID - AddressId1 int64 `json:"address_id1"` - // 二级地址ID - AddressId2 int64 `json:"address_id2"` - // 三级地址ID - AddressId3 int64 `json:"address_id3"` - // 四级地址ID - AddressId4 int64 `json:"address_id4"` - // 一级地址名称 - AddressName1 string `json:"address_name1"` - // 二级地址名称 - AddressName2 string `json:"address_name2"` - // 三级地址名称 - AddressName3 string `json:"address_name3"` - // 四级地址名称 - AddressName4 string `json:"address_name4"` + AddressId1 int `json:"addressId1"` + AddressId2 int `json:"addressId2"` + AddressId3 int `json:"addressId3"` + AddressId4 int `json:"addressId4"` + AddressName1 string `json:"addressName1"` + AddressName2 string `json:"addressName2"` + AddressName3 string `json:"addressName3"` + AddressName4 string `json:"addressName4"` } type WarehouseInfoMapItem struct { - // 仓id - WarehouseId int64 `json:"warehouse_id"` - // 外部仓id - OutWarehouseId string `json:"out_warehouse_id"` - // 仓名称 - Name string `json:"name"` - // 仓介绍 - Introduction string `json:"introduction"` - // 仓地址信息 - WarehouseLocation *WarehouseLocation `json:"warehouse_location"` - // 详细地址 - AddressDetail string `json:"address_detail"` - // 更新时间 - UpdateTime int64 `json:"update_time"` - // 创建时间 - CreateTime int64 `json:"create_time"` - // 绑定的外部围栏ID列表 - OutFenceIds []string `json:"out_fence_ids"` + Latitude string `json:"Latitude"` + Longitude string `json:"Longitude"` + OutFenceIds []string `json:"OutFenceIds"` + AddressDetail string `json:"addressDetail"` + Addresses []string `json:"addresses"` + CreateTime int `json:"createTime"` + Introduction string `json:"introduction"` + Name string `json:"name"` + OutWarehouseId string `json:"outWarehouseId"` + ShopId int `json:"shopId"` + StoreNames []string `json:"storeNames"` + UpdateTime int `json:"updateTime"` + WarehouseId int64 `json:"warehouseId"` + WarehouseLocation *WarehouseLocation `json:"warehouseLocation"` + WarehouseType int `json:"warehouseType"` } type WarehouseGetWarehouseByStoreData struct { // 仓信息map