This commit is contained in:
laodaming
2023-06-28 17:05:31 +08:00
parent b012db8e4e
commit 6abca6b271
9 changed files with 320 additions and 2 deletions

View File

@@ -15,6 +15,9 @@ service inventory {
//获取云仓库存列表
@handler GetCloudListHandler
get /inventory/list(GetCloudListReq) returns (response);
//云仓补货
@handler SupplementHandler
post /inventory/supplement(SupplementReq) returns (response);
}
//提取云仓货物
@@ -61,4 +64,13 @@ type PriceItem {
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"`
}