diff --git a/server_api/product.api b/server_api/product.api index 7445bf18..b31e45e6 100644 --- a/server_api/product.api +++ b/server_api/product.api @@ -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"` } \ No newline at end of file