createwarehouse param

This commit is contained in:
richboo111
2022-11-08 13:49:48 +08:00
parent 19fba4c7d2
commit 0c9420593e
4 changed files with 23 additions and 7 deletions

View File

@@ -12,7 +12,7 @@ type WarehouseCreateRequest struct {
}
func (c *WarehouseCreateRequest) GetUrlPath() string {
return "/warehouse/create"
return "/warehouse/createV2"
}
func New() *WarehouseCreateRequest {

View File

@@ -8,5 +8,5 @@ type WarehouseCreateResponse struct {
}
type WarehouseCreateData struct {
// 仓库id
Data int64 `json:"data"`
WarehouseId string `json:"warehouse_id"`
}