This commit is contained in:
laodaming
2023-07-17 16:04:53 +08:00
parent 2eb8bf936f
commit eedce6c2d7
5 changed files with 189 additions and 0 deletions

View File

@@ -59,6 +59,9 @@ service product {
//获取产品配件数据
@handler GetFittingByPidHandler
get /api/product/get_fitting_by_pid(GetFittingByPidReq) returns (response);
//获取产品灯光数据
@handler GetLightByPidHandler
get /api/product/get_light_by_pid(GetLightByPidReq) returns (response);
//*********************产品详情分解接口结束***********************
}
@@ -371,4 +374,8 @@ type GetFittingByPidRsp {
Title string `json:"title"`
Price int64 `json:"price"`
ModelInfo interface{} `json:"model_info"`
}
//获取产品灯光数据
type GetLightByPidReq {
Pid string `form:"pid"`
}