Merge branch 'develop' of https://gitee.com/fusenpack/fusenapi into develop
This commit is contained in:
@@ -15,6 +15,9 @@ service inventory {
|
||||
//获取云仓库存列表
|
||||
@handler GetCloudListHandler
|
||||
get /inventory/list(GetCloudListReq) returns (response);
|
||||
//云仓补货
|
||||
@handler SupplementHandler
|
||||
post /inventory/supplement(SupplementReq) returns (response);
|
||||
}
|
||||
|
||||
//提取云仓货物
|
||||
@@ -28,9 +31,9 @@ type TakeForm {
|
||||
}
|
||||
//获取云仓库存列表
|
||||
type GetCloudListReq {
|
||||
Page int64 `json:"page"`
|
||||
PageSize int64 `json:"page_size"`
|
||||
Size int64 `json:"size"`
|
||||
Page int64 `form:"page"`
|
||||
PageSize int64 `form:"page_size"`
|
||||
Size int64 `form:"size"`
|
||||
}
|
||||
type GetCloudListRsp {
|
||||
WarehouseBoxes int64 `json:"warehouse_boxes"`
|
||||
@@ -58,7 +61,16 @@ type ListDataItem {
|
||||
PriceList []PriceItem `json:"price"`
|
||||
}
|
||||
type PriceItem {
|
||||
Num int `json:"num"`
|
||||
TotalNum int `json:"total_num"`
|
||||
Price int `json:"price"`
|
||||
Num int64 `json:"num"`
|
||||
TotalNum int64 `json:"total_num"`
|
||||
Price int64 `json:"price"`
|
||||
}
|
||||
|
||||
//云仓补货
|
||||
type SupplementReq {
|
||||
Id int64 `json:"id"`
|
||||
Num int64 `json:"num"`
|
||||
}
|
||||
type SupplementRsp {
|
||||
Sn string `json:"sn"`
|
||||
}
|
||||
Reference in New Issue
Block a user