fix
This commit is contained in:
@@ -13,7 +13,7 @@ service product {
|
||||
//获取产品列表
|
||||
@handler GetProductListHandler
|
||||
get /product/list(GetProductListReq) returns (response);
|
||||
//获取成功后的推荐产品
|
||||
//获取支付成功后推荐产品
|
||||
@handler GetSuccessRecommandHandler
|
||||
get /product/success-recommand (GetSuccessRecommandReq) returns (response);
|
||||
//获取分类下的产品以及尺寸
|
||||
@@ -34,6 +34,9 @@ service product {
|
||||
//其他产品推荐列表
|
||||
@handler OtherProductListHandler
|
||||
get /product/other-list (OtherProductListReq) returns (response);
|
||||
//获取详情页推荐产品列表
|
||||
@handler GetRecommandProductListHandler
|
||||
get /product/recommand (GetRecommandProductListReq) returns (response);
|
||||
}
|
||||
|
||||
//获取产品列表
|
||||
@@ -68,7 +71,7 @@ type Items {
|
||||
MiniPrice int64 `json:"miniPrice"`
|
||||
CoverDefault string `json:"coverDefault"`
|
||||
}
|
||||
//获取成功后的推荐产品
|
||||
//获取支付成功后推荐产品
|
||||
type GetSuccessRecommandReq {
|
||||
Num uint32 `form:"num"`
|
||||
Size uint32 `form:"size"`
|
||||
@@ -240,4 +243,20 @@ type OtherProductListRsp {
|
||||
Sn string `json:"sn"`
|
||||
Id int64 `json:"id"`
|
||||
SkuId int64 `json:"sku_id"`
|
||||
}
|
||||
//获取详情页推荐产品列表
|
||||
type GetRecommandProductListReq {
|
||||
Size uint32 `form:"size"`
|
||||
Num int64 `form:"num"`
|
||||
Sn string `form:"sn"`
|
||||
}
|
||||
type GetRecommandProductListRsp {
|
||||
Id int64 `json:"id"`
|
||||
Sn string `json:"sn"`
|
||||
Title string `json:"title"`
|
||||
TitleCn string `json:"title_cn"`
|
||||
Cover string `json:"cover"`
|
||||
CoverImg string `json:"cover_img"`
|
||||
CoverDefault string `json:"cover_default"`
|
||||
Intro string `json:"intro"`
|
||||
}
|
||||
Reference in New Issue
Block a user