fix
This commit is contained in:
@@ -68,6 +68,9 @@ service product {
|
||||
//获取详情页推荐产品列表
|
||||
@handler GetRecommandProductListHandler
|
||||
get /api/product/recommand (GetRecommandProductListReq) returns (response);
|
||||
//获取列表页推荐产品列表
|
||||
@handler HomePageRecommandProductListHandler
|
||||
get /api/product/home_page_recommand (HomePageRecommandProductListReq) returns (response);
|
||||
//*********************产品详情分解接口结束***********************
|
||||
//*********************推荐产品接口开始××××××××××××××××××××××××××
|
||||
|
||||
@@ -417,4 +420,22 @@ type GetLastProductDesignRsp {
|
||||
SizeId int64 `json:"size_id"`
|
||||
LogoColor interface{} `json:"logo_color"`
|
||||
Info interface{} `json:"info"`
|
||||
}
|
||||
//获取列表页推荐产品(返回是这个维度数组)
|
||||
type HomePageRecommandProductListReq {
|
||||
Size uint32 `form:"size"`
|
||||
}
|
||||
type HomePageRecommandProductListRsp {
|
||||
ProductId int64 `json:"product_id"`
|
||||
Sn string `json:"sn"`
|
||||
Title string `json:"title"`
|
||||
Cover string `json:"cover"`
|
||||
Intro string `json:"intro"`
|
||||
CoverImg string `json:"cover_img"`
|
||||
IsEnv int64 `json:"is_env"`
|
||||
IsMicro int64 `json:"is_micro"`
|
||||
SizeNum uint32 `json:"size_num"`
|
||||
MiniPrice int64 `json:"mini_price"`
|
||||
CoverDefault string `json:"cover_default"`
|
||||
HaveOptionalFitting bool `json:"have_optional_fitting"`
|
||||
}
|
||||
Reference in New Issue
Block a user