fix
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);
|
||||
}
|
||||
|
||||
//提取云仓货物
|
||||
@@ -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"`
|
||||
}
|
||||
Reference in New Issue
Block a user