From 7e9cdbfb576a7a0163d0a7415f870dc1f7648e3d Mon Sep 17 00:00:00 2001 From: laodaming <11058467+laudamine@user.noreply.gitee.com> Date: Mon, 3 Jul 2023 17:57:41 +0800 Subject: [PATCH] fix --- server_api/product.api | 10 ++++++++++ 1 file changed, 10 insertions(+) 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