This commit is contained in:
laodaming
2023-06-30 17:20:11 +08:00
parent 5ac62e7c55
commit c17ab5ae5c
10 changed files with 283 additions and 3 deletions

View File

@@ -22,6 +22,9 @@ service product {
//获取保存的设计信息
@handler GetProductDesignHandler
get /product/design(GetProductDesignReq) returns (response);
//产品设计数据采集
@handler DesignGatherHandler
post /product/design-gather (DesignGatherReq) returns (response);
}
//获取产品列表
@@ -106,4 +109,11 @@ type GetProductDesignRsp {
OptionalId int64 `json:"optional_id"`
Cover string `json:"cover"`
Info string `json:"info"`
}
//产品设计数据采集
type DesignGatherReq {
Data string `json:"data"`
}
type DesignGatherRsp {
Sn string `json:"sn"`
}