warehouseDetail response

This commit is contained in:
richboo111
2022-12-05 17:21:44 +08:00
parent 7c5f807845
commit 87be6398bd
5 changed files with 24 additions and 15 deletions

View File

@@ -46,7 +46,8 @@ func (c *ShopGetStoreDetailRequest) GetParams() *ShopGetStoreDetailParam {
type ShopGetStoreDetailParam struct {
// 门店ID
StoreId int64 `json:"store_id"`
StoreId string `json:"store_id"`
//StoreId int64 `json:"store_id"`
// 是否需要poi审核信息只要审核状态的审核不要传true需要详细的提交信息时传true
IsNeedPoiAuditInfo bool `json:"is_need_poi_audit_info"`
// 是否需要关联的抖店信息只要shopId不要传true需要关联店铺名称等信息时传true

View File

@@ -43,18 +43,10 @@ type WarehouseInfoMapItem struct {
UpdateTime int64 `json:"update_time"`
// 创建时间
CreateTime int64 `json:"create_time"`
// 店铺id
ShopId int64 `json:"shop_id"`
// 仓类型
WarehouseType int64 `json:"warehouse_type"`
// 绑定的外部围栏ID列表
OutFenceIds []string `json:"out_fence_ids"`
Latitude float64 `json:"latitude"`
Longitude float64 `json:"longitude"`
Addresses []string `json:"addresses"`
StoreNames []string `json:"store_names"`
}
type WarehouseGetWarehouseByStoreData struct {
// 仓信息map
WarehouseInfoMap map[int64][]WarehouseInfoMapItem `json:"warehouse_info_map"`
WarehouseInfoMap map[string]WarehouseInfoMapItem `json:"warehouse_info_map"`
}