fusenapi/server_api/inventory.api
laodaming c5bcf9d676 fix
2023-06-27 14:25:25 +08:00

25 lines
444 B
Plaintext

syntax = "v1"
info (
title: "云仓服务"// TODO: add title
desc: // TODO: add description
author: "daming"
email: ""
)
import "basic.api"
service inventory {
//提取云仓货物
@handler TakeHandler
post /inventory/take(TakeReq) returns (response);
}
//提取云仓货物
type TakeReq {
Form []TakeForm `json:"form"`
AddressId int64 `json:"address_id"`
}
type TakeForm {
Id int64 `json:"id"`
Num int64 `json:"num"`
}