fusenapi/server_api/inventory.api

25 lines
444 B
Plaintext
Raw Normal View History

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