warehouse
This commit is contained in:
@@ -44,6 +44,16 @@ func (c *WarehouseCreateRequest) GetParams() *WarehouseCreateParam {
|
||||
return c.Param
|
||||
}
|
||||
|
||||
type WarehouseLocation struct {
|
||||
// 省地址编码
|
||||
AddressId1 int64 `json:"address_id1"`
|
||||
// 市地址编码
|
||||
AddressId2 int64 `json:"address_id2"`
|
||||
// 区地址编码
|
||||
AddressId3 int64 `json:"address_id3"`
|
||||
// 街道地址编码
|
||||
AddressId4 int64 `json:"address_id4"`
|
||||
}
|
||||
type WarehouseCreateParam struct {
|
||||
// 外部仓库ID,一个店铺下,同一个外部ID只能创建一个仓库
|
||||
OutWarehouseId string `json:"out_warehouse_id"`
|
||||
@@ -51,4 +61,12 @@ type WarehouseCreateParam struct {
|
||||
Name string `json:"name"`
|
||||
// 仓库介绍
|
||||
Intro string `json:"intro"`
|
||||
//仓信息
|
||||
Warehouse *Warehouse `json:"warehouse"`
|
||||
}
|
||||
type Warehouse struct {
|
||||
// 仓地址编码 苹果门店店铺、超市小时达店铺建仓必传
|
||||
WarehouseLocation *WarehouseLocation `json:"warehouse_location"`
|
||||
// 仓地址详细地址,苹果门店店铺、超市小时达店铺建仓必传
|
||||
AddressDetail string `json:"address_detail"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user