Merge branch 'develop' of https://gitee.com/fusenpack/fusenapi into develop
This commit is contained in:
@@ -281,8 +281,8 @@ type OtherProductListRsp {
|
||||
}
|
||||
//获取详情页推荐产品列表
|
||||
type GetRecommandProductListReq {
|
||||
Size uint32 `form:"size"`
|
||||
Num int64 `form:"num"`
|
||||
Size uint32 `form:"size,optional"`
|
||||
Num int64 `form:"num,optional"`
|
||||
Sn string `form:"sn"`
|
||||
}
|
||||
type GetRecommandProductListRsp {
|
||||
@@ -354,9 +354,14 @@ type GetPriceByPidReq {
|
||||
Pid string `form:"pid"`
|
||||
}
|
||||
type GetPriceByPidRsp {
|
||||
Items []PriceItem `json:"items"`
|
||||
MinPrice float64 `json:"min_price"`
|
||||
MaxPrice float64 `json:"max_price"`
|
||||
Items []PriceItem `json:"items"`
|
||||
MinPrice float64 `json:"min_price"`
|
||||
MaxPrice float64 `json:"max_price"`
|
||||
StepPrice []StepPrice `json:"step_price"`
|
||||
}
|
||||
type StepPrice {
|
||||
Range string `json:"range"`
|
||||
Price float64 `json:"price"`
|
||||
}
|
||||
type PriceItem {
|
||||
Num int64 `json:"num"`
|
||||
@@ -374,6 +379,7 @@ type GetSizeByPidRsp {
|
||||
Cover string `json:"cover"` //缩略图
|
||||
PartsCanDeleted bool `json:"parts_can_deleted"` //用户可否删除配件
|
||||
ModelId int64 `json:"model_id"` //产品主模型id
|
||||
IsPopular bool `json:"is_popular"` //是否受欢迎
|
||||
}
|
||||
//获取产品模板列表
|
||||
type GetTemplateByPidReq {
|
||||
@@ -389,6 +395,7 @@ type GetFittingByPidRsp {
|
||||
MaterialImg string `json:"material_img"`
|
||||
Title string `json:"title"`
|
||||
Price int64 `json:"price"`
|
||||
IsPopular bool `json:"is_popular"`
|
||||
ModelInfo interface{} `json:"model_info"`
|
||||
}
|
||||
//获取产品灯光数据
|
||||
|
||||
Reference in New Issue
Block a user