This commit is contained in:
laodaming 2023-07-03 17:57:41 +08:00
parent 88bd7798b8
commit 7e9cdbfb57

View File

@ -25,6 +25,9 @@ service product {
//产品设计数据采集
@handler DesignGatherHandler
post /product/design-gather (DesignGatherReq) returns (response);
//获取产品信息
@handler GetProductInfoHandler
get /product/info(GetProductInfoReq) returns (response);
}
//获取产品列表
@ -116,4 +119,11 @@ type DesignGatherReq {
}
type DesignGatherRsp {
Sn string `json:"sn"`
}
//获取产品信息
type GetProductInfoReq{
Pid string `form:"pid"`
Size int64 `form:"size"`
ClientNo string `form:"client_no"`
HaveCloudRendering bool `form:"haveCloudRendering"`
}