This commit is contained in:
laodaming
2023-07-10 19:42:55 +08:00
parent f9bfbf28ae
commit f07e4a2084
6 changed files with 181 additions and 4 deletions

View File

@@ -31,6 +31,9 @@ service product {
//保存设计信息
@handler SaveDesignHandler
post /product/save-design(SaveDesignReq) returns (response);
//其他产品推荐列表
@handler OtherProductListHandler
post /product/other-list (OtherProductListReq) returns (response);
}
//获取产品列表
@@ -222,4 +225,18 @@ type DesignLogo {
}
type ColorFill {
Fill string `json:"fill"`
}
//其他产品推荐列表
type OtherProductListReq {
Cid int64 `json:"cid"`
Num int64 `json:"num"`
Size uint32 `json:"size"`
}
type OtherProductListRsp {
Title string `json:"title"`
Cover string `json:"cover"`
CoverImg string `json:"cover_img"`
Sn string `json:"sn"`
Id int64 `json:"id"`
SkuId int64 `json:"sku_id"`
}